mercredi 22 février 2017

Shuffling a touchscreen keypads buttons [PYTHON]

Bank vault systems that have a tactile number pad for pin entry are vulnerable to misuse by a thief. Thieves can use cameras, themselves, or even other people to view the pattern that a 4 digit pin makes when entered; therefore they do not need to know the actual value of your pin, just the sequence of button presses that will allow for entry into the system. To overcome this fatal flaw, a touchscreen display that has a number pad GUI may be used, with the keys being shuffled every time the pin is entered whether it is correct or not.

Someone has posted an answer to a similar question, but with-out the shuffle function. Need a Gui Keypad for a touchscreen that outputs a pin when code is correct

I have been playing around with the code in the answer to the question posted in the link above by trying to shuffle the list 'keys' whenever a '#' is entered but it does not work. Do you guys have any idea how to make a touchscreen GUI keypad with numbers that shuffle everyime a '#' is received?




Aucun commentaire:

Enregistrer un commentaire