Module scicrypt::cryptosystems::integer_el_gamal[][src]

Expand description

Implementation of the ElGamal cryptosystem over a safe prime group.

Structs

Multiplicatively homomorphic ElGamal over a safe prime group where the generator is 4.

ElGamal ciphertext of integers.

Public key containing the ElGamal encryption key and the modulus of the group.

A struct holding both a ciphertext and a reference to its associated public key, which is useful for decrypting directly using the secret key or performing homomorphic operations.