The target
Pick a secret PIN. We'll try to guess it.
Type a PIN above, then click Set as target.
The attack
An attacker tries every combination, in order. Watch how fast.
Shortcuts: Space start / pause · R reset
The lesson
What this demo actually tells us.
Short PINs fall instantly
A 4-digit PIN has only 10,000 combinations. A modern CPU can try millions per second — so unprotected, it falls in milliseconds. The demo is throttled so you can watch.
Every extra digit ≈ 10×
Adding 2 digits multiplies the search space by 100× (10²). Going from 4 to 6 digits takes 10,000 → 1,000,000. Going from 4 to 8 makes it 10,000× harder.
Rate-limiting is the real defense
Banks lock your card after 3 wrong PINs. Phones add delays after each wrong attempt. The PIN isn't strong — the system around it is. Without that throttle, every short PIN is broken.
Letters & symbols win
An 8-character lowercase password (26⁸ ≈ 209 billion) crushes any 8-digit PIN (10⁸ = 100 million) by a factor of 2,000. Mix in case + symbols and the gap widens to the trillions.