I recently found an article explaining various ways passwords are cracked and the best practices for encrypting and storing passwords.

This is a must read for anyone writing user account systems.

Head over to http://crackstation.net/hashing-security.htm to read the article.