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;
}

Required Associated Types

Required Methods

Implementations on Foreign Types

Implementors