Skip to main content

Module crypto

Module crypto 

Source

Enums§

CryptoError
Errors that can occur during crypto operations.

Functions§

decrypt
Decrypt ciphertext using a secret key.
encrypt
Encrypt plaintext bytes to one or more recipients.
parse_identity
Parse a secret key from its string representation (AGE-SECRET-KEY-1…).
parse_recipient
Parse a public key from its string representation (age1…).