Skip to main content

verify_file

Function verify_file 

Source
pub fn verify_file(
    src: &Path,
    key_hex: &str,
    nonce_hex: &str,
) -> Result<StreamedFile, String>
Expand description

What decrypt_file learns about src, with no plaintext written anywhere: the tag verdict, both hashes and the length. For ciphertext that stays ciphertext on disk.