[−][src]Trait digest::DynDigest
This is supported on
feature="alloc"
only.The DynDigest
trait is a modification of Digest
trait suitable
for trait objects.
Required methods
fn update(&mut self, data: &[u8])
This is supported on
feature="alloc"
only.Digest input data.
This method can be called repeatedly for use with streaming messages.
fn finalize_reset(&mut self) -> Box<[u8]>
This is supported on
feature="alloc"
only.Retrieve result and reset hasher instance
fn finalize(self: Box<Self>) -> Box<[u8]>
This is supported on
feature="alloc"
only.Retrieve result and consume boxed hasher instance
fn reset(&mut self)
This is supported on
feature="alloc"
only.Reset hasher instance to its initial state.
fn output_size(&self) -> usize
This is supported on
feature="alloc"
only.Get output size of the hasher
fn box_clone(&self) -> Box<dyn DynDigest>
This is supported on
feature="alloc"
only.Clone hasher state into a boxed trait object