Trait crypto_common::FixedOutputReset[][src]

pub trait FixedOutputReset: FixedOutput + Reset {
    fn finalize_into_reset(
        &mut self,
        out: &mut GenericArray<u8, Self::OutputSize>
    ); fn finalize_fixed_reset(&mut self) -> GenericArray<u8, Self::OutputSize> { ... } }

Trait for types which return fixed-sized result after finalization and reset values into its initial state.

Required methods

fn finalize_into_reset(&mut self, out: &mut GenericArray<u8, Self::OutputSize>)[src]

Write result into provided array and reset value to its initial state.

Loading content...

Provided methods

fn finalize_fixed_reset(&mut self) -> GenericArray<u8, Self::OutputSize>[src]

Retrieve result and reset the hasher instance.

Loading content...

Implementors

Loading content...