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!

Encrypt and Dencrypt password

843810Mar 6 2002 — edited Mar 12 2002
Hi all ,

I know that the question have been asked many times by members.
However , I am new in the cryptography . So please correct me if i am wrong.

My question is that i need to encrypt the password and stored in the database when the user entered loginid and password in my jsp . The loginid is unique.
Then when the user log out and try to login again , i need to
dencrypt the password in database and compare the value entered by user.

Anybody have good JCE sample code ??
Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 9 2002
Added on Mar 6 2002
13 comments
486 views