Trait sit_core::hash::Hasher [] [src]

pub trait Hasher {
    fn process(&mut self, input: &[u8]);
fn result(self) -> Vec<u8>;
fn result_box(self: Box<Self>) -> Vec<u8>; }

Hasher is a unifying trait for different hashing algorithms

Required Methods

Process stream input

Produce a hash

Produce a hash out of a boxed Hasher

Implementors