Function encrypt_file

Source
pub async fn encrypt_file(
    input_path: impl AsRef<Path> + Debug,
    output_path: impl AsRef<Path> + Debug,
    key: Box<dyn Recipient + Send>,
) -> Result<u64>
Expand description

Encrypt a path to another given a Recipient.

If stderr is a terminal, this will show a progress bar.