Skip to main content

Module crypto

Module crypto 

Source

Enums§

CryptoError
Errors that can occur during crypto operations.
MurkIdentity
An identity that can decrypt age-encrypted data.
MurkRecipient
A recipient that can receive age-encrypted data.

Functions§

decrypt
Decrypt ciphertext using an identity (age or SSH key).
encrypt
Encrypt plaintext bytes to one or more recipients.
parse_identity
Parse a secret key string into a MurkIdentity.
parse_recipient
Parse a public key string into a MurkRecipient.