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.
Required methods
pub fn finalize_into(self, out: &mut GenericArray<u8, Self::OutputSize>)
[src]
Consume value and write result into provided array.
Provided methods
pub fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>
[src]
Retrieve result and consume the hasher instance.
Implementors
impl<D> FixedOutput for CoreWrapper<D> where
D: FixedOutputCore,
[src]
impl<D> FixedOutput for CoreWrapper<D> where
D: FixedOutputCore,
[src]type OutputSize = <D as FixedOutputCore>::OutputSize
pub fn finalize_into(
self,
out: &mut GenericArray<u8, <CoreWrapper<D> as FixedOutput>::OutputSize>
)
[src]
self,
out: &mut GenericArray<u8, <CoreWrapper<D> as FixedOutput>::OutputSize>
)