[email protected]
[Top] [All Lists]

Re: At what layer to hash a password

Subject: Re: At what layer to hash a password
From: Tom Ritter
Date: Sat, 26 Jun 2010 07:13:13 -0400
You covered several of the arguments: the password moving down the
stacks and being intercepted there, the maintainability.

But there's two more things I'd raise.  First off, you really shouldn't
be hashing your passwords.  It's better to use something I don't know
the correct term for (I've heard adaptive hashing and iterative hashing.
 I usually just call them by name).  The two things to read are "Enough
with the Rainbow Tables: What you need to know about Secure Password
Schemes" [1] which covers bcrypt and Colin Percival's new algorithm
scrypt [2].  These are hashes, but they're not your standard SHA-2 fare.

These protocols are not able to be run natively in any database I know
of.  Additionally, at least at my office, our database is by far the
busiest machine we have - so moving CPU-intensive work (like calculating
geographic intersections) off it is always a win for us.


[2] http://www.daemonology.net/blog/2009-05-09-scrypt-key-derivation.html

This list is sponsored by Cenzic
Let Us Hack You. Before Hackers Do!
It's Finally Here - The Cenzic Website HealthCheck. FREE.
Request Yours Now! 

<Prev in Thread] Current Thread [Next in Thread>