Function digest

Source
pub fn digest(algorithm: &'static Algorithm, data: &[u8]) -> Digest
Expand description

Returns the digest of data using the given digest algorithm.