[−][src]Trait crypto_api::hash::VarlenHash
A variable length extension for Hash
Required methods
fn varlen_hash(
&self,
buf: &mut [u8],
data: &[u8]
) -> Result<usize, Box<dyn Error + 'static>>
&self,
buf: &mut [u8],
data: &[u8]
) -> Result<usize, Box<dyn Error + 'static>>
Hashes data
into buf
and returns the hash length