pub fn decrypt_bytes(
ciphertext: &[u8],
keys: &EncryptionKeys,
) -> Result<Vec<u8>, CodecError>Expand description
Checks the length and digest before decrypting arbitrary bytes.
pub fn decrypt_bytes(
ciphertext: &[u8],
keys: &EncryptionKeys,
) -> Result<Vec<u8>, CodecError>Checks the length and digest before decrypting arbitrary bytes.