Trait otter_api_tests::imports::digest::FixedOutputDirty[]

pub trait FixedOutputDirty {
    type OutputSize: ArrayLength<u8>;
    fn finalize_into_dirty(
        &mut self,
        out: &mut GenericArray<u8, Self::OutputSize>
    ); }
Expand description

Trait for fixed-output digest implementations to use to retrieve the hash output.

Usage of this trait in user code is discouraged. Instead use the FixedOutput::finalize_fixed or FixedOutput::finalize_fixed_reset methods.

Types which impl this trait along with Reset will receive a blanket impl of FixedOutput.

Associated Types

Output size for fixed output digest

Required methods

Retrieve result into provided buffer and leave hasher in a dirty state.

This method is expected to only be called once unless Reset::reset is called, after which point it can be called again and reset again (and so on).

Implementations on Foreign Types

Implementors