Trait sp_multihash::StatefulHasher [−][src]
pub trait StatefulHasher<const S: usize>: Default + Send + Sync {
type Digest: Digest<S>;
fn update(&mut self, input: &[u8]);
fn finalize(&self) -> Self::Digest;
fn reset(&mut self);
}
Expand description
Trait implemented by a hash function implementation.