Re:How To Safely Store A Password
by cperciva on Tuesday December 14, 2010 @03:03PM
(#2005523)
Actually, it's essentially PBKDF1, but that's close enough for non-cryptographers.
[ Parent
| on HN ]
Shit, you're right. (PBKDF2 generates arbitrary-length output, which is what you want from a key derivation function, but maybe not something you care about for a password hash).
Here's a version that's much easier to read than the spec:
https://github.com/emerose/pbkdf2-ruby/blob/master/lib/pbkdf...
I should stop saying PBKDF2 and just go back to saying PBKDF.