Re:Security Through Obscurity
by SoftwareMaven on Sunday May 22, 2011 @08:24PM
(#2574638)
Reversing a hash is impossible, so a collision is "reversing" it. All that really matters is that you've got something that the auth system will think is the right password.
Re:Security Through Obscurity
by JoachimSchipper on Monday May 23, 2011 @01:58PM
(#2576853)
You're confusing a collision (find any x, y such that f(x) = f(y)) and a second preimage attack (find any x such that f(x) = y for some particular y). The latter is much more difficult, but the former can still be used - see "rogue CA".
Of course, you don't break password hashes by reversing the hash, you break password hashes by just trying (variations on) dictionary words until one matches the hash. For that purpose, SHA-256 is not a good choice, since it's too fast - use PBKDF2/bcrypt.