Learn how to use one-way encryption in PHP by building a secure online diary application.
http://www.webreference.com/programming/php/encryption_one-way/