Struct sha3::Shake256
[−]
[src]
pub struct Shake256 { /* fields omitted */ }
Trait Implementations
impl Copy for Shake256
[src]
impl Clone for Shake256
[src]
fn clone(&self) -> Shake256
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 Shake256
[src]
impl Input for Shake256
[src]
type BlockSize = U136
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 Shake256
[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