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!

Encryption and Decryption

843810Apr 14 2004 — edited Apr 15 2004

Hi,
I need a Encryption and Decryption sample program.I want a program with public key and private key.

I need to encrypt data in one .jsp page and then I need that encrypted data to pass thru a query string and decrypt the data.
So obviously I need two different keys to exactly encrypt and decrypt the data.I have been trying with 'DES Algorithm that takes a single key to encrypt and decrypt but that is not fit for my requirement.
So can anybody send me sample to encrypt and decrypt data (data that takes numerals,and strings with spaces also).
Thanks,
Regards
VR
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 13 2004
Added on Apr 14 2004
2 comments
193 views