Reputation: 55
I am working on my project that uses elgamal elliptic curve. I know when the elgamal ec encrypt by following steps
Upvotes: 0
Views: 831
Reputation: 3393
There's no obvious way to attach m to points in E(Fp). However, you can use variant algorithm of ElGamal such as Menezes-Vanstone Elliptic curve cryptosystem to encode a message in a point, a good reference here(P.31).
As for java code, I suggest you do some work, and post another question on SO when you encounter a problem you really can't solve by yourself.
Upvotes: 1