Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

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 Adnan, 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.

2  
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

1 Answer 1

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.