pub trait Hasher {
// Required methods
fn finish(&self) -> u32;
fn write(&mut self, bytes: &[u8]);
}
Expand description
See core::hash::Hasher
for details
§Contract
Implementers of this trait must not perform any 64-bit (or 128-bit) operation while computing the hash.