Skip to main content

hmac_sha256_hex

Function hmac_sha256_hex 

Source
pub fn hmac_sha256_hex(secret: &[u8], msg: &[u8]) -> String
Expand description

Compute the HMAC-SHA256 of msg keyed by secret, returned as a lowercase hex string. Shared helper so other crates can build keyed integrity chains without taking their own crypto dependency.