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