pub enum Shake128Algorithm {}
Expand description
Type-level constants for SHAKE-128
Trait Implementations§
Source§impl XofAlgorithm for Shake128Algorithm
impl XofAlgorithm for Shake128Algorithm
Source§const SECURITY_LEVEL: usize = 128usize
const SECURITY_LEVEL: usize = 128usize
Security level in bits
Source§const MIN_OUTPUT_SIZE: usize = 16usize
const MIN_OUTPUT_SIZE: usize = 16usize
Minimum recommended output size in bytes
Source§const MAX_OUTPUT_SIZE: Option<usize> = None
const MAX_OUTPUT_SIZE: Option<usize> = None
Maximum output size in bytes (None for unlimited)
Source§const ALGORITHM_ID: &'static str = "SHAKE-128"
const ALGORITHM_ID: &'static str = "SHAKE-128"
Algorithm identifier
Auto Trait Implementations§
impl Freeze for Shake128Algorithm
impl RefUnwindSafe for Shake128Algorithm
impl Send for Shake128Algorithm
impl Sync for Shake128Algorithm
impl Unpin for Shake128Algorithm
impl UnwindSafe for Shake128Algorithm
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