Crate i2p_elgamal[−][src]
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. |
KeyPairGenerator |
Generates ElGamal keypairs, as specified in section 8.4.1 of the Handbook of Applied Cryptography. |
PrivateKey |
The private component of an ElGamal encryption keypair. |
PublicKey |
The public component of an ElGamal encryption keypair. Represents only the exponent, not the primes (which are constants). |