Function hmac

Source
pub fn hmac(algorithm: HMACAlgorithm, key: &[u8], input: &[u8]) -> Vec<u8> 
Expand description

Abstract HMAC using algorithm as the hash function.