Trait simple_hash::Hasher
source · [−]pub trait Hasher {
type Output;
fn update<D: AsRef<[u8]>>(&mut self, data: D);
fn finish(self) -> Self::Output;
fn digest<H: Hashable>(data: &H) -> Self::Output;
}pub trait Hasher {
type Output;
fn update<D: AsRef<[u8]>>(&mut self, data: D);
fn finish(self) -> Self::Output;
fn digest<H: Hashable>(data: &H) -> Self::Output;
}