[−][src]Function rc_crypto::hmac::verify
pub fn verify(
key: &VerificationKey,
data: &[u8],
signature: &[u8]
) -> Result<()>
Calculate the HMAC of data
using key
and verify it corresponds to the provided signature.
pub fn verify(
key: &VerificationKey,
data: &[u8],
signature: &[u8]
) -> Result<()>
Calculate the HMAC of data
using key
and verify it corresponds to the provided signature.