pub fn decrypt_attachment_bytes(
encrypted: Vec<u8>,
key_bytes: Vec<u8>,
) -> Result<Vec<u8>, SoftchatError>Expand description
Authenticate and decrypt a bounded released-client attachment value.
ยงErrors
All malformed nonce, tag, key, and authentication failures map to one redacted error.