Skip to main content

decrypt_bytes

Function decrypt_bytes 

Source
pub fn decrypt_bytes(
    ciphertext: &[u8],
    keys: &EncryptionKeys,
) -> Result<Vec<u8>, CodecError>
Expand description

Checks the length and digest before decrypting arbitrary bytes.