Password encryption decryption, storage in databas
Dear all,
I have developed an application which allows user to register and there by choose their own userid and password.
As of now i'm capturing the password field in plain text and also storing the password in the database as plain text.
I want to encrypt the password, store in database and fetch the password from the database, decrypt it and use it for comparision, so as to validate the user. please tell me how to make it possible.
If possible give some references.
Intellectuals solve problems but Genious avoid problems.
__________________
Intellectuals solve problems but Genious avoid problems.
|