[−][src]Trait multihash::Hasher
Trait implemented by a hash function implementation.
Associated Types
Loading content...Required methods
fn update(&mut self, input: &[u8])
Consume input and update internal state.
fn finalize(&self) -> Self::Digest
Returns the internal state digest.
fn reset(&mut self)
Reset the internal hasher state.
Provided methods
fn size() -> u8
Returns the size of the digest.
fn digest(input: &[u8]) -> Self::Digest where
Self: Sized,
Self: Sized,
Returns the digest of the input.