Function dryoc::classic::crypto_onetimeauth::crypto_onetimeauth_verify
source · 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_onetimeauth_verify
.