by codeka · 14y ago · 0 comments
You can do case-insensitive passwords with hashing/salting. It's just a matter of lower-casing the password before hashing it. (Edit: I'm not saying this is a good idea, of course!!)
I remember reading once that Facebook actually hashes multiple versions of your password (eg with the first letter upper-cased to handle the case where a phone auto-corrects it, and also with all character cases toggled to handle the case when you left caps lock on). I wonder if there's any statistics about how often this kind of thing actually helps?
Of course, it seems pretty clear in this particular case that Troy is right and they're just storing your password in a case-insensitive database column.
Detecting if capslock is on with javascript (in a round about way) would seem to be a much better solution for this case.