pub trait Hasher {
fn update(&mut self, input: &[u8]);
fn finalize(&mut self) -> &[u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
;
fn reset(&mut self);
}
Expand description
Trait implemented by a hash function implementation.
Required methods
Returns the final digest.