encrypt_file

Function encrypt_file 

Source
pub fn encrypt_file<P: AsRef<Path>, Q: AsRef<Path>>(
    input_path: P,
    output_path: Q,
    key: &str,
) -> Result<(), ConfigSecretsError>
Expand description

Reads a file, encrypts its secrets, and writes the result to a different output file.