Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Need to do client side encryption/decryption

843811Jul 25 2007 — edited Aug 22 2007
I am developing a web application in jsp, servlets and database.
I have a registrationform.jsp which takes details like name, address etc.
On submitting this form, server validates the user entered information and if everything is correct, then sends him an ID(a number in encrypted format). But client has to see the actual data instead of encrypted value i.e., on receiving response from server, before getting displayed on browser, client side decryption should be done and actual data should get displayed.

I am using RSA public/private key pairs to do encryption and decryption. I am successful on server encryption and decryption. But I am not sure how to do encryption and decryption on client side.

I need the solution as early as possible.

Please provide the solution and also provide any useful links or resources that I can follow.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 19 2007
Added on Jul 25 2007
5 comments
501 views