Trait multihash::StatefulHasher [−][src]
Trait implemented by a hash function implementation.
Associated Types
type Size: Size[src]
The maximum Digest size for that hasher (it is stack allocated).
type Digest: Digest<Self::Size>[src]
The Digest type to distinguish the output of different Hasher implementations.
Required methods
fn update(&mut self, input: &[u8])[src]
Consume input and update internal state.
fn finalize(&self) -> Self::Digest[src]
Returns the final digest.
fn reset(&mut self)[src]
Reset the internal hasher state.