Bitwise evaluation

Switched to bitwise evaluation in EvaluatePassword, as opposed to using
a (large) number of Booleans.