Expand description
The convenience API: one call per hash, every feature of BLAKE3 (the
plain hash, the keyed hash, key derivation, extended output), any
slice, the result returned, and a Hasher for a message fed in
pieces, on the calling thread. It does without what makes hashing fast:
other cores, batches, streams. Those are the
throughput calls, for power users.
Structs§
- Hasher
- A message’s hash, fed in pieces:
updatewith each piece, in order, thenfinalize. The pieces may be of any lengths; the hash is the same ashashof them all at once. Every call runs on the calling thread and returns with its input incorporated. For other cores, the crateblake3-servilhasthroughput::update_multithreaded; for many messages at once,throughput::update_each.