Crate yasmf_hash

Crate yasmf_hash 

Source
Expand description

yasmf-hash

Encode and decode yasmf-hashes

Modules§

error

Structs§

Blake3Hash
An output of the default size, 32 bytes, which provides constant-time equality checking.

Enums§

YasmfHash
Variants of YasmfHash

Constants§

BLAKE3_HASH_SIZE
BLAKE3_NUMERIC_ID
BLAKE3_OUT_LEN
The number of bytes in a Hash, 32.
MAX_YAMF_HASH_SIZE
The maximum number of bytes this will use for any variant.

Functions§

blake3
The default hash function.
new_blake3