Possible Duplicate:
Python's safest method to store and retrieve passwords from a database.
Can someone provide a simple, straightforward description on how passwords should be stored for an average[1] web site in 2011. Bonus points for showing an example in Python or pseudocode.
[1] by average, I mean the site owner would be embarrassed if an employee or hacker posted 10% or more of the passwords on pastebin.