[−][src]Trait digest::FixedOutputCore
Trait for fixed-output digest implementations to use to retrieve the hash output.
Usage of this trait in user code is discouraged. Instead use core algorithm
wrapped by [BlockBufferWrapper
], which implements the FixedOutput
trait.
Associated Types
type OutputSize: ArrayLength<u8>
[src]
Digest output size in bytes.
Required methods
pub 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.
This method is expected to only be called once unless Reset::reset
is called, after which point it can be called again and reset again
(and so on).