Expand description
This module implements a simplified version of Hybrid Public Key Encryption (HPKE).
It uses X25519 for key exchange and ChaCha20Poly1305 for symmetric encryption. The key derivation is done using SHA-256.
Structsยง
- Hpke
Context - A context for performing E2E encryption using X25519 and ChaCha20Poly1305.