Expand description
Elliptic-curve ElGamal over group elements.
This module deliberately works on points as messages instead of trying to
encode arbitrary byte strings into curve points. That keeps the abstraction
compact and lets it directly reuse the existing ec layer.
Structsยง
- Ciphertext
- ElGamal ciphertext consisting of a pair $(c_1, c_2)$.
- EcEl
Gamal - Stateless EC-ElGamal helper.