Struct groestl::GroestlSmall
[−]
[src]
pub struct GroestlSmall { /* fields omitted */ }
Methods
impl GroestlSmall
[src]
fn new(output_size: usize) -> Result<Self, InvalidLength>
Trait Implementations
impl Copy for GroestlSmall
[src]
impl Clone for GroestlSmall
[src]
fn clone(&self) -> GroestlSmall
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 Input for GroestlSmall
[src]
type BlockSize = U64
fn digest(&mut self, input: &[u8])
Digest input data. This method can be called repeatedly for use with streaming messages. Read more
impl VariableOutput for GroestlSmall
[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