eth2.0-specs/utils/phase0/hash_function.py
Hsiao-Wei Wang a07219c570
Fix linter
2019-03-19 11:39:19 +08:00

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)