The El Gamal variant of Diffie-Hellman has the same setup with a public prime and generator .
Let be any symmetric encryption function. The schema is as follows:
- chooses and computes .
- chooses integer , computes , and computes key .
- computes .
The El Gamal variant of Diffie-Hellman has the same setup with a public prime and generator .
Let be any symmetric encryption function. The schema is as follows: