Skip to main content

decrypt_attachment

Function decrypt_attachment 

Source
pub fn decrypt_attachment(
    encrypted_bytes: &[u8],
    remote_attachment: &RemoteAttachment,
) -> Result<Attachment, CodecError>
Expand description

Decrypts an attachment that was encrypted with encrypt_attachment.