Page 1 of 1

How to implement ElGamal key generation algorithm on javacard

Posted: Tue Dec 29, 2015 11:29 pm
by JCaberham
I'm trying to implement ElGamal key generation algorithm on javacard. And I wonder the concrete steps. I googled but find a little information.
Did anyone work on this? How Can I implement this?
Also, I don't know which type of java card I can use to do this. Could anyone recommend one product to me ? Thanks

Re: How to implement ElGamal key generation algorithm on javacard

Posted: Sun Jan 03, 2016 11:36 pm
by btwtiger
The computations of ElGamal are very similar to RSA.
You can generate some large primes (as components of CRT private key) and do some modular arithmetic.
In addition, manual implementation will probably be slow.