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 · 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<Vec<u8>>
fn squeeze_into_vec(&mut self, len: usize) -> Result<Vec<u8>>
Squeezes the specified number of output bytes into a new vector
Source§fn security_level() -> usize
fn security_level() -> usize
Returns the security level in bits
Auto Trait Implementations§
impl Freeze for ShakeXof128
impl RefUnwindSafe for ShakeXof128
impl Send for ShakeXof128
impl Sync for ShakeXof128
impl Unpin 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