Module age_core::primitives
source · [−]Expand description
Primitive cryptographic operations used across various age components.
Functions
decrypt[key](ciphertext) - decrypts a message of an expected fixed size.encrypt[key](plaintext) - encrypts a message with a one-time key.HKDF[salt, label](key, 32)