Skip to main content

hex_hmac_sha256

Function hex_hmac_sha256 

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

Hex encoded HMAC with SHA256 hash.

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