You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/src/trezor/crypto/sha256.py

7 lines
99 B

from TrezorCrypto import Sha256
_sha256 = Sha256()
def hash(data):
return _sha256.hash(data)