mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-03 13:22:33 +00:00
7 lines
99 B
Python
7 lines
99 B
Python
from TrezorCrypto import Sha256
|
|
|
|
_sha256 = Sha256()
|
|
|
|
def hash(data):
|
|
return _sha256.hash(data)
|