Skip to main content

Module crypto

Module crypto 

Source
Expand description

Thin wrappers around the age passphrase encrypt/decrypt primitives.

Both functions operate on raw byte slices so they are agnostic about file format; the higher-level file I/O lives in crate::commands::encrypt.

Functionsยง

decrypt
Decrypt age-encrypted data with passphrase.
encrypt
Encrypt data with passphrase using age passphrase mode.