|
|
|
|
|
by philip1209
5126 days ago
|
|
As a more general question: why is it not an industry standard to salt with the username/email in addition to the random key? (i.e. Sha1($salt + $email + $password)). Even if the random salt were excluded, I would think that this is much more secure. Existing rainbow tables would not be anywhere near as helpful, and attempts to generate a rainbow table for a specific salted database would be ineffective because the salt changes on a per-user basis. |
|
I think this is a pretty good overview: http://codahale.com/how-to-safely-store-a-password/