[][src]Trait digest::FixedOutputCore

pub trait FixedOutputCore: UpdateCore {
    type OutputSize: ArrayLength<u8>;
    pub fn finalize_fixed_core(
        &mut self,
        buffer: &mut BlockBuffer<Self::BlockSize>,
        out: &mut GenericArray<u8, Self::OutputSize>
    ); }

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

Usage of this trait in user code is discouraged. Instead use core algorithm wrapped by [BlockBufferWrapper], which implements the FixedOutput trait.

Associated Types

type OutputSize: ArrayLength<u8>[src]

Digest output size in bytes.

Loading content...

Required methods

pub fn finalize_fixed_core(
    &mut self,
    buffer: &mut BlockBuffer<Self::BlockSize>,
    out: &mut GenericArray<u8, Self::OutputSize>
)
[src]

Retrieve result into provided buffer using remaining data stored in the block 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).

Loading content...

Implementors

Loading content...