Serving the Quantitative Finance Community

player
Topic Author
Posts: 2290
Joined: August 5th, 2002, 10:00 am

### pin number

a pin number has four numbers. How long does it take to break it using brute force?

Posts: 23951
Joined: September 20th, 2002, 8:30 pm

### pin number

If "brute force" means punching the card holder in the mouth a few times, then not long. If all four digits can take on any of 10 values (0-9) and pins are random, then it takes an average of 10000/2 tries.If all four digits can take on any of 10 values (0-9) and pins are human-created, then it takes less time if I have access to a database of human-created pin numbers (such a database might reveal that "1234" is an extremely common pin number).If I don't have to enter all 4 digits -- unentered digits resolve as leading or trailing zeros (e.g. "1 ENTER" == "1000 ENTER") then 999+99+9 of my tries will require fewer button presses.

daveangel
Posts: 17031
Joined: October 20th, 2003, 4:05 pm

### pin number

my bank stops you after 3 attempts
knowledge comes, wisdom lingers