hashr 0.0.3

small library that aims to provide several hashing and related algorithms
Documentation
1
2
3
4
5
6
7
pub trait HashFn<const B: usize, const L: usize> {
    const BLOCK_SIZE: usize = B;
    const OUTPUT_SIZE: usize = L;

    fn update(&mut self, data: &[u8]);
    fn finalize(&mut self) -> [u8; L];
}