Trait digest::core_api::FixedOutputCore[][src]

pub trait FixedOutputCore: UpdateCore {
    type OutputSize: ArrayLength<u8>;
    fn finalize_fixed_core(
        &mut self,
        buffer: &mut BlockBuffer<Self::BlockSize>,
        out: &mut GenericArray<u8, Self::OutputSize>
    ); }
This is supported on crate feature core-api only.

Core trait for hash functions with fixed output size.

Associated Types

type OutputSize: ArrayLength<u8>[src]

Digest output size in bytes.

Loading content...

Required methods

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.

Loading content...

Implementors

impl<T, OutSize> FixedOutputCore for CtVariableCoreWrapper<T, OutSize> where
    T: VariableOutputCore,
    OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
    LeEq<OutSize, T::MaxOutputSize>: NonZero, 
[src]

type OutputSize = OutSize

Loading content...