plugins.aea-ledger-fetchai.aea_
ledger_
fetchai.hashfuncs
Hash functions of Crypto package.
sha256
def sha256(contents: bytes) -> bytes
Get sha256 hash.
Arguments:
contents
: bytes contents.
Returns:
bytes sha256 hash.
ripemd160
def ripemd160(contents: bytes) -> bytes
Get ripemd160 hash using PyCryptodome.
Arguments:
contents
: bytes contents.
Returns:
bytes ripemd160 hash.