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