Trait digest::ExtendableOutput
source ·
[−]pub trait ExtendableOutput: Sized {
type Reader: XofReader;
fn finalize_xof(self) -> Self::Reader;
fn finalize_xof_reset(&mut self) -> Self::Reader;
}
Expand description
Trait which describes extendable-output functions (XOF).
Associated Types
Required methods
fn finalize_xof(self) -> Self::Reader
fn finalize_xof(self) -> Self::Reader
Retrieve XOF reader and consume hasher instance.
fn finalize_xof_reset(&mut self) -> Self::Reader
fn finalize_xof_reset(&mut self) -> Self::Reader
Retrieve XOF reader and reset hasher instance state.