mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-27 01:48:17 +00:00
31 lines
746 B
Python
31 lines
746 B
Python
|
|
# ../extmod/modtrezorcrypto/modtrezorcrypto-ripemd160.h
|
|
def ripemd160(data: bytes=None) -> Ripemd160:
|
|
'''
|
|
Creates a hash context object.
|
|
'''
|
|
|
|
# ../extmod/modtrezorcrypto/modtrezorcrypto-sha256.h
|
|
def sha256(data: bytes=None) -> Sha256:
|
|
'''
|
|
Creates a hash context object.
|
|
'''
|
|
|
|
# ../extmod/modtrezorcrypto/modtrezorcrypto-sha3-256.h
|
|
def sha3_256(data: bytes=None) -> Sha3_256:
|
|
'''
|
|
Creates a hash context object.
|
|
'''
|
|
|
|
# ../extmod/modtrezorcrypto/modtrezorcrypto-sha3-512.h
|
|
def sha3_512(data: bytes=None) -> Sha3_512:
|
|
'''
|
|
Creates a hash context object.
|
|
'''
|
|
|
|
# ../extmod/modtrezorcrypto/modtrezorcrypto-sha512.h
|
|
def sha512(data: bytes=None) -> Sha512:
|
|
'''
|
|
Creates a hash context object.
|
|
'''
|