pub struct ShakeXof256 { /* private fields */ }
Expand description
SHAKE-256 extendable output function with secure memory handling
Trait Implementations§
Source§impl Clone for ShakeXof256
impl Clone for ShakeXof256
Source§fn clone(&self) -> ShakeXof256
fn clone(&self) -> ShakeXof256
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 ShakeXof256
impl Drop for ShakeXof256
Source§impl ExtendableOutputFunction for ShakeXof256
impl ExtendableOutputFunction for ShakeXof256
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 ShakeXof256
impl RefUnwindSafe for ShakeXof256
impl Send for ShakeXof256
impl Sync for ShakeXof256
impl Unpin for ShakeXof256
impl UnwindSafe for ShakeXof256
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