pub struct MuHasher { /* private fields */ }Expand description
Streaming FIPS 204 External-mu (mu = SHAKE256(tr || 0x00 || len(ctx) || ctx || M, 64))
hasher for large messages, file streams, and HSM pre-hashing workflows.
Matches the Pure ML-DSA message representative mu bit-for-bit regardless of how the
input message is chunked across MuHasher::update calls.
Implementations§
Source§impl MuHasher
impl MuHasher
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MuHasher
impl RefUnwindSafe for MuHasher
impl Send for MuHasher
impl Sync for MuHasher
impl Unpin for MuHasher
impl UnsafeUnpin for MuHasher
impl UnwindSafe for MuHasher
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more