Trait crypto_mac::FixedOutput[][src]

pub trait FixedOutput {
    type OutputSize: ArrayLength<u8>;
    pub fn finalize_into(self, out: &mut GenericArray<u8, Self::OutputSize>);

    pub fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize> { ... }
}

Trait for types which return fixed-sized result after finalization.

Associated Types

type OutputSize: ArrayLength<u8>[src]

Size of result in bytes.

Loading content...

Required methods

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

Consume value and write result into provided array.

Loading content...

Provided methods

pub fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>[src]

Retrieve result and consume the hasher instance.

Loading content...

Implementors

impl<D> FixedOutput for CoreWrapper<D> where
    D: FixedOutputCore
[src]

type OutputSize = <D as FixedOutputCore>::OutputSize

Loading content...