Function hash

Source
pub fn hash(algorithm: HashAlgorithm, input: &[u8]) -> Vec<u8> 
Expand description

Abstract hashing using algorithm.