pub fn decrypt_attachment(
encrypted_bytes: &[u8],
remote_attachment: &RemoteAttachment,
) -> Result<Attachment, CodecError>Expand description
Decrypts an attachment that was encrypted with encrypt_attachment.
pub fn decrypt_attachment(
encrypted_bytes: &[u8],
remote_attachment: &RemoteAttachment,
) -> Result<Attachment, CodecError>Decrypts an attachment that was encrypted with encrypt_attachment.