Modules§
Structs§
Enums§
Constants§
- DIGEST_
SIZE - Size of the digest, in bytes.
- HASH_
SIZE_ BASE64 - Size of the base64url representation, in characters.
- HASH_
SIZE_ BIN - Size of the internal representation, in bytes.
- HASH_
SIZE_ COMPACT - Size of the truncated binary representation, in bytes.
- HASH_
SIZE_ CROCKFORD - Size of the Crockford Base32 representation, in characters.
- MIN_
RECOVERABLE_ BASE64 - Shortest base64url input
Hash::validateaccepts. - MIN_
RECOVERABLE_ BIN - Shortest binary input
Hash::validateaccepts. - MIN_
RECOVERABLE_ CROCKFORD - Shortest Crockford Base32 input
Hash::validateaccepts. - PARITY
- Number of byte errors the Reed-Solomon codec can correct.
- PARITY_
OFFSET - Offset of the parity block within the internal representation.
- PARITY_
SIZE - Size of the Reed-Solomon parity block, in bytes.
- RS
- SIZE_
SIZE - Size of the packed data-length field, in bytes.
Functions§
- blake3
- hash
- hash_
encoded - Hashes
dataand encodes it in the canonical Crockford Base32 form. - hash_
inner - inner_
from_ parts - Assembles the internal representation from its stored parts, regenerating the parity block.
- sha256