Expand description
BLAKE3 implementation of the Hasher trait.
This implementation uses the blake3 crate to generate BLAKE3 digests.
§Example
use commonware_cryptography::{Hasher, blake3::Blake3};
// Create a new BLAKE3 hasher
let mut hasher = Blake3::new();
// Update the hasher with some messages
hasher.update(b"hello,");
hasher.update(b"world!");
// Finalize the hasher to get the digest
let digest = hasher.finalize();
// Print the digest
println!("digest: {:?}", digest);
Structs§
Functions§
Type Aliases§
- Core
Blake3 - Re-export blake3::Hasher as
CoreBlake3
for external use if needed.