-Jagadish.M
Storing plaint text password in the database is never a good idea. Fortunately MySQL provides you with some options to protect passwords.
MySQL provide following built-in functions do that:
1. SHA1: Secure Hash Algorithm version 1.0
2. SHA functions
3. MD5: Message Digest Algorithm 5
4. RFC 1321: The Message Digest Algorithm
5. AES: Advanced Encryption Standard
To know more view http://www.binaryspectrum.com/geeksatwork/