News for hackers. Stuff that matters.
Re:The God Login by kibwen on Friday January 09, 2015 @09:01AM (#8862226)
Assuming that you run your own login service like Facebook does, you always have access to your user's passwords at least once because at some point you have to take the raw password and hash it. Facebook just creates two variations of the user's password and stores the hashes for all three of them.
Re:The God Login by ssmoot on Friday January 09, 2015 @09:18AM (#8862286)
All three of them? The Hash for the password as-typed, another for as-typed.invert(). What's the third? I feel like I'm missing something obvious. :-/
Re:The God Login by plorkyeran on Friday January 09, 2015 @10:09AM (#8862493)
First letter uppercase, for mobile devices that default to shift being on for just the first letter.
Re:The God Login by andrewaylett on Friday January 09, 2015 @09:52AM (#8862425)
Mac-style caps-lock, which doesn't invert again with shift, and PC-style, which does.
Re:The God Login by TheCoelacanth on Friday January 09, 2015 @10:31AM (#8862591)
Possibly for the two different types of caps lock. The kind that inverts the case of everything and the kind that makes everything uppercase.
Re:The God Login by ssmoot on Friday January 09, 2015 @01:12PM (#8863421)
I never noticed that. (I switched to Macs around 8 years ago.) Huh.

In that case I guess I have to wonder what the point is? Why store three hashes as opposed to just upper-casing the plain-text before hashing? You end up storing fewer variations, and it makes no functional security difference to the front-end (since any attacker would just .toUpperCase() their inputs anyways)?

At least best I can reason.