pub struct ShakeXof128 { /* private fields */ }Expand description
SHAKE-128 extendable output function with secure memory handling
Trait Implementations§
Source§impl Clone for ShakeXof128
impl Clone for ShakeXof128
Source§fn clone(&self) -> ShakeXof128
fn clone(&self) -> ShakeXof128
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Drop for ShakeXof128
impl Drop for ShakeXof128
Source§impl ExtendableOutputFunction for ShakeXof128
impl ExtendableOutputFunction for ShakeXof128
Source§fn squeeze(&mut self, output: &mut [u8]) -> Result<()>
fn squeeze(&mut self, output: &mut [u8]) -> Result<()>
Squeezes output bytes into the provided buffer
Source§fn squeeze_into_vec(&mut self, len: usize) -> Result<ZeroizingBytes>
fn squeeze_into_vec(&mut self, len: usize) -> Result<ZeroizingBytes>
Squeezes the specified number of output bytes into exact-size storage
that clears itself on drop.
Source§fn security_level() -> usize
fn security_level() -> usize
Returns the security level in bits
impl ZeroizeOnDrop for ShakeXof128
Auto Trait Implementations§
impl Freeze for ShakeXof128
impl RefUnwindSafe for ShakeXof128
impl Send for ShakeXof128
impl Sync for ShakeXof128
impl Unpin for ShakeXof128
impl UnsafeUnpin for ShakeXof128
impl UnwindSafe for ShakeXof128
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