Function evercrypt::digest::hash[][src]

pub fn hash(alg: Mode, data: &[u8]) -> Vec<u8>
Expand description

Create the digest for the given data and mode alg. The output has length get_digest_size(alg).