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

5 lines
68 B
Python

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