Function simple_crypt::decrypt_file
source · [−]Expand description
Decrypts file data and output it to the specified output file
Examples
use simple_crypt::decrypt_file;
use std::path::Path;
decrypt_file(Path::new("encrypted_example.txt"), Path::new("example.txt"), b"example passwprd").expect("Failed to decrypt the file");
// Now the example.txt is decrypted