Hey guys, I got a slight problem here which I can't solve it.
I made a login feature which requires user to enter their id and password.
After enter his id, the user will be prompt whether to encrpyt his password using caesar cipher 4.
If it fails to login 3 times. Account it "locked"
The problem I facing now is..
User can login without encrypting the password. However, when he select encrypt, login fail the first time, but it pass the 2nd time.
Anyone knows what's going on?
Though I don't understand your code. Of course a string that matches non encrypted password will not match the encrypted one. The idea is to store the encrypted password in a file and encrypt user input..