News for hackers. Stuff that matters.
Re:The FBI stole an Instapaper server in an unrelated raid by tptacek on Thursday June 23, 2011 @04:14PM (#2689673)
The purpose of a salt is to randomize the password hashes so you can't easily precompute them. A "salt" derived from the password itself isn't random; it's deterministic. Salts don't add much security, but they do defeat precomputation. The scheme your coworker proposed doesn't do that.
Re:The FBI stole an Instapaper server in an unrelated raid by encoderer on Thursday June 23, 2011 @04:25PM (#2689718)
I'm not going to lie and say I was already thinking that, but I did have a notion that, in such a scheme, if somebodies passowrd was "1111111" then your salt + password would be the unimpressive 1111111111111.

But if you don't mind a follow-up, wouldn't it still defeat rainbow tables? Why not?

Re:The FBI stole an Instapaper server in an unrelated raid by tptacek on Thursday June 23, 2011 @04:41PM (#2689786)
In your scheme, if your password is "apple scrapple", the hash value is always going to be (say) "f1d2d2f924e986ac86fdf7b36c94bcdf32beec15". An attacker can precompute that and just use text search to find everyone with the password "apple scrapple".
Re:The FBI stole an Instapaper server in an unrelated raid by keeperofdakeys on Saturday June 25, 2011 @03:17AM (#2695157)
They would still need a rainbow suited to the algorithm that is used to create the salt, or to have it large enough to contain the password+salt value within it. Still means that the entire database can be used with the same rainbow table, however.