Function libsignal_service::attachment_cipher::decrypt_in_place

source ยท
pub fn decrypt_in_place(
    key: [u8; 64],
    ciphertext: &mut Vec<u8>,
) -> Result<(), AttachmentCipherError>
Expand description

Decrypts an attachment in place, given the key material.

On error, ciphertext is not changed.