Module hash

Module hash 

Source
Expand description

BLAKE3 hashing utilities for document signing.

Structs§

DocumentHash
A BLAKE3 hash of document content.

Constants§

HASH_SIZE
The size of a BLAKE3 hash output in bytes.

Functions§

hash_bytes
Compute the BLAKE3 hash of a byte slice.
hash_file
Compute the BLAKE3 hash of a file using streaming (memory efficient).
hash_reader
Compute the BLAKE3 hash from any reader using streaming.