jam.types.protocol.crypto module

class jam.types.protocol.crypto.Hash[source]

Bases: object

Cryptographic hash functions that produce 32-byte outputs

static blake2b(data: bytes) ByteArray32[source]

Blake2b hash function

static sha256(data: bytes) ByteArray32[source]

SHA256 hash function