Java Encryption and Decryption
I am new java developer. Now i am doing one struts application.
In my application, at the User registration time, i need to Encrypt the password field and then i like to store into the database.
After that the same user will be logging, at the moment the database password will decrypt and it will be compare to the User entering password.
If both password's are equal, then only the User will allow the logging.
can anybody know or have any sample code for Encrypt and Decrypt.
If yes, kindly post me, my mail id is firstname.lastname@example.org.
I am expecting anyone's reply.
You may be looking for the services offered by the javax.crypto library.
Take a look at the API documents.
Also, here is an introduction to the classes of this library (this is the 1.4 link - I know there is a 1.6 document but I haven't found it on the Sun website - it is in my download of the API documents):
and this Tutorial trail
You should be able to find an abundance of information by searching for your terms - lots of college lecture materials which will give you the background you need to implement your task.
Last edited by nspils; 05-24-2007 at 08:36 AM.
By Navnath in forum ASP.NET
Last Post: 07-13-2006, 02:09 AM
By dilipsshah in forum Security
Last Post: 04-15-2005, 04:52 PM
By dilipsshah in forum VB Classic
Last Post: 03-23-2005, 12:13 AM
By Mu'tasem in forum Security
Last Post: 07-13-2001, 03:18 PM
By Corneliu Giurgea in forum vb.announcements
Last Post: 12-24-2000, 06:29 PM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center