Possible Duplicate:
Best way to store password in database
I have a database (mySQL) where the table USERS has this structure:
- UserID (varchar)
- Passwd (varchar)
- Name (varchar)
- BancAccount (varchar)
Passwd and BancAccount are plain text on the database. From the PHP code, when login is done, it compares the user input for UserID and Passwd with the results from the database.
I would like to make it more secure, so that if anyone is able to break into the database, he cannot see these two critical fields. Any suggestions?
THANKS