verify_hmac

Function verify_hmac 

Source
pub fn verify_hmac(
    key: &SecureKey,
    message: &[u8],
    expected_hmac: &[u8],
) -> Result<bool, CryptoError>
Expand description

Verify HMAC-SHA256 for a message (constant-time comparison)