Expand description
Implementation of I2P’s ElGamal public-key encryption scheme over the 2048-bit MODP DH group.
This implementation is not constant-time (yet).
Structs§
- Decryptor
- ElGamal decryption, as specified in section 8.4.1 of the Handbook of Applied Cryptography.
- Encryptor
- ElGamal encryption, as specified in section 8.4.1 of the Handbook of Applied Cryptography.
- KeyPair
Generator - Generates ElGamal keypairs, as specified in section 8.4.1 of the Handbook of Applied Cryptography.
- Private
Key - The private component of an ElGamal encryption keypair.
- Public
Key - The public component of an ElGamal encryption keypair. Represents only the exponent, not the primes (which are constants).