pub fn write_encrypted(
path: &Path,
data: &[u8],
passphrase: &str,
) -> Result<(), Error>Expand description
Write and encrypt data to a file
ยงArguments
path- Path to the filedata- The plaintext data to encrypt and writepassphrase- The passphrase to encrypt with