Function dryoc::classic::crypto_secretbox::crypto_secretbox_detached
source · pub fn crypto_secretbox_detached(
ciphertext: &mut [u8],
mac: &mut Mac,
message: &[u8],
nonce: &Nonce,
key: &Key
)
Expand description
Detached version of crypto_secretbox_easy
.
Compatible with libsodium’s crypto_secretbox_detached
.