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. :-/
[ Parent
| on HN ]
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.
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.