Struct sha3::Shake128
[−]
[src]
pub struct Shake128 { /* fields omitted */ }
Trait Implementations
impl Copy for Shake128
[src]
impl Clone for Shake128
[src]
fn clone(&self) -> Shake128
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for Shake128
[src]
impl Input for Shake128
[src]
type BlockSize = U168
fn digest(&mut self, data: &[u8])
Digest input data. This method can be called repeatedly for use with streaming messages. Read more
impl VariableOutput for Shake128
[src]
fn variable_result(self, buffer: &mut [u8]) -> VariableResult
Retrieve the digest result into provided buffer. Length of the output equals to the input buffer size. In case of invalid length Err(InvalidLength)
will be returned. This method consumes digest instance. Read more