decrypt_file

Macro decrypt_file 

Source
macro_rules! decrypt_file {
    ($key:expr, 1024, $path:expr, $passphrase:expr, $cipher:expr, AES) => { ... };
    ($key:expr, 768, $path:expr, $passphrase:expr, $cipher:expr, AES) => { ... };
    ($key:expr, 512, $path:expr, $passphrase:expr, $cipher:expr, AES) => { ... };
    ($key:expr, 1024, $path:expr, $passphrase:expr, $cipher:expr, $nonce:expr, XChaCha20) => { ... };
    ($key:expr, 768, $path:expr, $passphrase:expr, $cipher:expr, $nonce:expr, XChaCha20) => { ... };
    ($key:expr, 512, $path:expr, $passphrase:expr, $cipher:expr, $nonce:expr, XChaCha20) => { ... };
}
Expand description

Macro for encryption of a file, taking a Kyber decryption instance, a PathBuf as well as a passphrase and ciphertext as arguments