elgamal package¶
Root imports for the tno.mpc.encryption_schemes.elgamal package.
This package implements the ElGamal crpytosystem. It supports both multiplicative and additive homomorphic versions of the system. The additive version has significant inherent limitations to decryption.
Both versions use the same Public and Secret keys.
Submodules¶
- elgamal.elgamal module
- elgamal.elgamal_additive module
- elgamal.elgamal_base module
ElGamalBase
ElGamalBaseCipherText
ElGamalPublicKey
ElGamalSecretKey
deserialize()
deserialize_ciphertext()