pub fn crypto_box_open_detached_inplace(
data: &mut [u8],
mac: &Mac,
nonce: &Nonce,
sender_public_key: &PublicKey,
recipient_secret_key: &SecretKey,
) -> Result<(), Error>Expand description
In-place variant of crypto_box_open_detached: decrypts data with the
sender’s public key sender_public_key and the recipient’s secret key
recipient_secret_key.
§Errors
Returns an error if sender_public_key is unacceptable or authentication
fails.