pub fn crypto_auth_verify(
    mac: &Mac,
    input: &[u8],
    key: &Key
) -> Result<(), Error>
Expand description

Verifies that mac is the correct authenticator for message using key. Returns Ok(()) if the message authentication code is valid.

Equivalent to libsodium’s crypto_auth_verify.