hmac_sha256_hex

Function hmac_sha256_hex 

Source
pub fn hmac_sha256_hex(key: &[u8], data: &[u8]) -> Result<String>
Expand description

Computes HMAC-SHA-256 over data and returns lowercase hex.

Products remain responsible for providing a high-entropy, purpose-specific key and managing its lifecycle. This helper is suitable for keyed cache components and lookup digests; it does not replace Argon2id for human passwords.

ยงErrors

Returns an error when the HMAC implementation rejects the supplied key.