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