Using some of the encryption techniques that PHP offers, you can safeguard your sensitive information in various ways. Find out which techniques one PHP developer used after an attacker hacked into his database and stole all the passwords and usernames stored there.
Read the whole story: http://www.webreference.com/programming/php/encryption_1/