"be consistent" | |
PerlMonks |
Re^2: Status of Recent User Information Leak (jdporter++)by hobbs (Monk) |
on Jul 31, 2009 at 09:54 UTC ( [id://784868]=note: print w/replies, xml ) | Need Help?? |
When you hash 'em, hash 'em well. With a grain (or a hundred odd bits) of salt. And preferably with a suitably expensive KDF based on a hash that's not known to be totally hosed. glibc 2.7+ crypt() with the $5$ method should be reasonably strong; Crypt::SaltedHash with SHA-256 is less strong, but the best thing I can think of that's reasonably portable.
In Section
Perl Monks Discussion
|
|