pub struct Shake256Provider { /* private fields */ }Expand description
Keccak SHAKE-256 provider with configurable output bit-length (custom-N).
Uses the SHAKE-256 extendable-output function (XOF) to produce a digest
of N bits. The prefix is custom-N: (e.g. custom-1024:).
This provides future-proofing: if custom-N is exhausted, upgrade to
custom-2N by registering a new provider with doubled bit-length.
Implementations§
Trait Implementations§
Source§impl HashProvider for Shake256Provider
impl HashProvider for Shake256Provider
Auto Trait Implementations§
impl Forget for Shake256Provider
impl Freeze for Shake256Provider
impl RefUnwindSafe for Shake256Provider
impl Send for Shake256Provider
impl Sync for Shake256Provider
impl Unpin for Shake256Provider
impl UnsafeUnpin for Shake256Provider
impl UnwindSafe for Shake256Provider
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