"Your password can't contain spaces." is a message I see from some websites, including 1 .
Why? (This question is very similar to Why Disallow Special Characters In a Password? , but the answers there don't seem to apply to the space character).
Some systems apparently strip out all spaces before hashing the password. ( How does Google not care about "spaces" in Application-specific passwords? )
Why not simply hash whatever the user typed in, spaces and all?