Function fedimint_aead::encrypted_write
source · pub fn encrypted_write(
data: Vec<u8>,
key: &LessSafeKey,
file: PathBuf
) -> Result<()>Expand description
Write data encrypted to a file with a random nonce that will be
encoded in the file