Trait digest::core_api::FixedOutputCore [−][src]
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.
Required methods
fn finalize_fixed_core(
&mut self,
buffer: &mut BlockBuffer<Self::BlockSize>,
out: &mut GenericArray<u8, Self::OutputSize>
)
[src]
&mut self,
buffer: &mut BlockBuffer<Self::BlockSize>,
out: &mut GenericArray<u8, Self::OutputSize>
)
Retrieve result into provided buffer using remaining data stored in the block buffer and leave hasher in a dirty state.
Implementors
impl<T, OutSize> FixedOutputCore for CtVariableCoreWrapper<T, OutSize> where
T: VariableOutputCore,
OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
LeEq<OutSize, T::MaxOutputSize>: NonZero,
[src]
T: VariableOutputCore,
OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
LeEq<OutSize, T::MaxOutputSize>: NonZero,
type OutputSize = OutSize
fn finalize_fixed_core(
&mut self,
buffer: &mut BlockBuffer<Self::BlockSize>,
out: &mut GenericArray<u8, Self::OutputSize>
)
[src]
&mut self,
buffer: &mut BlockBuffer<Self::BlockSize>,
out: &mut GenericArray<u8, Self::OutputSize>
)