Added XOR compare passwords method
Removed impossible exception from method signature