hash(password)
hash(password-inverted)
hash(password-first-upper-case)
This way it'll work with an inverted password even on the first attempt (after this feature was implemented)Edit: Going by my gut feeling only, this feels slightly more secure too... If the hashed password database is ever leaked, it feels like it would be easier to crack a password given the three related hashes, compared to just the one.