Skip to main content

hex_hmac_sha1

Function hex_hmac_sha1 

Source
pub fn hex_hmac_sha1(key: &[u8], content: &[u8]) -> String
Expand description

Hex encoded HMAC with SHA1 hash.

Use this function instead of hex::encode(hmac_sha1(key, content)) can reduce extra copy.