eth2.0-specs/test_libs/pyspec/eth2spec/utils/hash_function.py

6 lines
72 B
Python

from hashlib import sha256
def hash(x):
return sha256(x).digest()