Function decrypt_file

Source
pub fn decrypt_file(
    path: &Path,
    key: &Key,
) -> Result<Zeroizing<Vec<u8>>, ReadError>
Expand description

Check the file header, decrypt_content, and decompress the ciphertext from the specified path.