pub fn hmac<D: Digest>(input: &[u8], secret: &[u8]) -> D::OutputType
Creates HMAC using provided Digest algorithm.
Digest
input
secret