"Key stretching is essential."
Agreed. The article at http://codahale.com/how-to-safely-store-a-password/ is also convincing in this respect.
Agreed. The article at http://codahale.com/how-to-safely-store-a-password/ is also convincing in this respect.
An article [1] that appeared on HN last month (comments:[2]) also explains why just using hashing with a quick digest function is a bad idea, although this original article does a decent job of it (despite the author ignoring his/her own advice).
This article also uses built in equality tests for comparing the supplied hash to the stored hash. This is bad practice, as it is vulnerable to timing attacks. [1] covers this in the Extra section.
[1] : http://throwingfire.com/storing-passwords-securely/?utm_sour...
[2] : http://news.ycombinator.com/item?id=4075873