ElGamal is an asymmetric key encryption algorithm based on the Diffie-Hellman key exchange and the discrete logarithm problem.
Generate a new ElGamal key pair for encryption and decryption
Upload a file and encrypt it with recipient's public key
Upload an encrypted file and decrypt it with your private key
ElGamal encryption is an asymmetric key encryption algorithm for public-key cryptography which is based on the Diffie-Hellman key exchange. It was described by Taher Elgamal in 1985.
| Feature | ElGamal | RSA |
|---|---|---|
| Security Basis | Discrete Logarithm Problem | Integer Factorization Problem |
| Ciphertext Size | Twice the plaintext size | Same as key size |
| Encryption Speed | Slower | Faster |
| Decryption Speed | Slower | Faster |
| Probabilistic | Yes (more secure against certain attacks) | No (unless using padding schemes) |