Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was wondering if there is a PHP implementation for Elgamal algorithm for website data security ?

I found that for EC, Diffie-Hellman but could not find any about elgamal.

Thanks in advance.

share|improve this question

closed as off-topic by Adi, Xander, dr jimbob, TildalWave, Gilles Jul 18 '13 at 21:34

  • This question does not appear to be about Information security within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

Which ElGamal algorithm are you talking about? ElGamal encryption, ElGamal signatures or are you interested in the homomorphic properties of ElGamal encryption? – CodesInChaos Jul 18 '13 at 15:30
I meant Elgamal encryption algorithm. – engy Jul 18 '13 at 15:51
Off-Topic. Reason: Asks for product recommendation. – e-sushi Jul 18 '13 at 15:55

There are GnuPG bindings for PHP, and GnuPG implements the OpenPGP format, which is about the only standard format covering ElGamal encryption. In any case, you are warmly encouraged not to design your own crypto protocol, and instead rely on existing standards like OpenPGP (these things are harder to make correctly than what it seems at first glance).

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.