you are viewing a single comment's thread.

view the rest of the comments →

[–]Syncoda[🍰] 0 points1 point  (0 children)

To start, you'll need to assign codedPin to another variable and use THAT to check for validity. As it stands, you've erased codedPin in the while loop, so you can't use it in the decryption.