Trait digest::FixedOutput
source · [−]pub trait FixedOutput: Update + OutputSizeUser + Sized {
fn finalize_into(self, out: &mut Output<Self>);
fn finalize_fixed(self) -> Output<Self> { ... }
}
Expand description
Trait for hash functions with fixed-size output.
Required Methods
fn finalize_into(self, out: &mut Output<Self>)
fn finalize_into(self, out: &mut Output<Self>)
Consume value and write result into provided array.
Provided Methods
fn finalize_fixed(self) -> Output<Self>
fn finalize_fixed(self) -> Output<Self>
Retrieve result and consume the hasher instance.