Function dryoc::classic::crypto_box::crypto_box_open_detached
source · pub fn crypto_box_open_detached(
message: &mut [u8],
mac: &Mac,
ciphertext: &[u8],
nonce: &Nonce,
recipient_public_key: &PublicKey,
sender_secret_key: &SecretKey
) -> Result<(), Error>
Expand description
Detached variant of crypto_box_open_easy
.
Compatible with libsodium’s crypto_box_open_detached
.