Re:Am I a douchebag micromanager?
by spp on Tuesday January 03, 2012 @01:59PM
(#3420808)
Please don't use hashes for this. Use bcrypt (http://en.wikipedia.org/wiki/Bcrypt). Hashes are designed to be easy to compute, bcrypt is adaptive in the sense that it can be made harder to compute over time, so it's a lot harder to brute force. It also adds a salt by default.
[ Parent
| on HN ]
I know I'm being a bit pedantic here, but both bcrypt and SHA1 are cryptographic hash functions.
So please, do use hashes for this, just realize that some hashes will be far more secure (like bcrypt) than others (like SHA1 or, FSM-forbid, MD5).