Trait crypto_common::FixedOutput[][src]

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

    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

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

Consume value and write result into provided array.

Loading content...

Provided methods

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

Retrieve result and consume the hasher instance.

Loading content...

Implementors

Loading content...