Module primitives

Source
Expand description

Primitive cryptographic operations used across various age components.

Functionsยง

aead_decrypt
decrypt[key](ciphertext) - decrypts a message of an expected fixed size.
aead_encrypt
encrypt[key](plaintext) - encrypts a message with a one-time key.
hkdf
HKDF[salt, label](key, 32)