1

I need to use ElGamal for a project of critical importance in terms of confidentiality. My frustration is that I have not been able to find a reliable, industry-tested implementation of ElGamal asymmetric encryption in Java. I have found these so far:

They do not seem reliable and well-maintained to me. Any suggestions?

  • Did you have a look at BouncyCastle? – SEJPM Oct 28 at 15:34
  • You may want to ask on Crypto.SE though whether ElGamal is actually the right and best solution to the problem you're having, given that it's usually only good in a select few, exotic situations. – SEJPM Oct 28 at 15:40
1

As @SEJPM notes in the comments, the well-known Bouncy Castle library has an implementation of ElGamal asymmetric encryption. Here are some examples of how to use it.

I've successfully used Bouncy Castle in a few projects so far, but not this particular type of encryption, so I can't comment on the specific reliability of this component.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy