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