mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-09 18:25:47 +00:00
8 lines
135 B
Python
8 lines
135 B
Python
# from hashlib import sha256
|
|
from eth_utils import keccak
|
|
|
|
|
|
# def hash(x): return sha256(x).digest()
|
|
def hash(x):
|
|
return keccak(x)
|