rc_crypto::hmac

Function verify_with_own_key

Source
pub fn verify_with_own_key(
    key: &SigningKey,
    data: &[u8],
    signature: &[u8],
) -> Result<()>
Expand description

Equivalent to verify but allows the consumer to pass a SigningKey.