Function read_decrypted
Source pub fn read_decrypted(path: &Path, passphrase: &str) -> Result<String>
Expand description
Read and decrypt a file
§Arguments
path - Path to the encrypted file
passphrase - The passphrase to decrypt with
§Returns
The decrypted file contents as a string