How can i encrypt passwords stored in my database?
Posted on 2004-03-25
At present, my passwords are stored in my database in plain text.
There is a webpage on my intranet that runs a SQL query to display the usernames and password in a table. The usernames and password are entered into the database through the submission of a form. This is the only things that hat are does with the passwords, i mean i do not use them to authenticate users etc.
I am wondering is there a way I can encrypt them so that you cannot just run a quesry and get them .... and then a way to decrypts them to display them in the page on the intranet.
How to do this or a good tutorial about it would be great, thanks