This website requires JavaScript.
Explore
Help
Sign In
status-im
/
eth2.0-specs
mirror of
https://github.com/status-im/eth2.0-specs.git
Watch
2
Star
0
Fork
You've already forked eth2.0-specs
0
Code
Issues
Projects
Releases
Wiki
Activity
1157d9b8d8
eth2.0-specs
/
test_libs
/
pyspec
/
eth2spec
/
utils
/
hash_function.py
6 lines
72 B
Python
Raw
Normal View
History
Unescape
Escape
switch utils hash-function to sha256
2019-03-26 13:17:08 +00:00
from
hashlib
import
sha256
initial pytests passing
2019-03-18 18:51:52 +00:00
resolve some new lint issues detected by newer version, and a few looked over ones
2019-06-01 00:40:29 +00:00
def
hash
(
x
)
:
return
sha256
(
x
)
.
digest
(
)