pub trait DigestThroughPad<H: HashAlgorithm> {
    // Required methods
    fn finish(&mut self, state: &mut H);
    fn write(&mut self, state: &mut H, bytes: &[u8]);
}

Required Methods§

source

fn finish(&mut self, state: &mut H)

source

fn write(&mut self, state: &mut H, bytes: &[u8])

Implementors§

source§

impl<S, H, const LEN: usize, const DELIMITER: u8> DigestThroughPad<H> for GenericPad<S, LEN, DELIMITER>where H: HashAlgorithm, S: Add<usize, Output = usize> + AddAssign<usize> + BigEndianBytes + BitAnd<Output = usize> + Clone + Copy + From<usize> + Mul<u32, Output = S> + Rem<Output = usize>,