Function lhash::hmac

source ·
pub fn hmac<D: Digest>(input: &[u8], secret: &[u8]) -> D::OutputType
Expand description

Creates HMAC using provided Digest algorithm.

  • input - Data to hash.
  • secret - Data to derive HMAC’s key.