Function dryoc::classic::crypto_auth::crypto_auth
source · pub fn crypto_auth(mac: &mut Mac, message: &[u8], key: &Key)
Expand description
Authenticates message
using key
, and places the result into
mac
.
Equivalent to libsodium’s crypto_auth
.