Resources for the global digital safety training community.
Credits Last Updated 2026-08
To make things a bit easier, let’s switch to numbers and pin codes for a bit, and explore a few routes one might take to try to guess a 4-digit code.
A totally random number (0-9) would take 10 guesses to guarantee you guess the right number by “exhausting” the possibilities. When trying to guess a longer number (say, a 4 digit pin), you have to multiply by the number of digits, so a 4 digit pin takes 10×10×10×10, or 10,000 guesses. For anyone who’s forgotten the code to their luggage lock, this is what you’re looking at.
Generally speaking, you have a chance at getting the “right” combination early, so you’d have to be incredibly unlucky to have to guess all 10,000 guesses - but if so, at 3 seconds a guess, you’d be at this for 8 hours straight.
This is where understanding entropy comes in handy. Is that combination really truly random? Probably not. There’s a good chance it’s either a date or a year. If it’s a year, the first two numbers are probably either 19 or 20, and if it’s 19, it’s a good guess to work backwards from 99 down to 50. For 20, work up from 00 to 23.
This takes 10,000 guesses down to just 80 - 1×1×5×10 for 1950-1999 (1 guess × 1 guess × 5 guesses (5,6,7,8,9), × 10 guesses (0-9) = 50 plus 1×1×3×10 for 2000-2023 (and you could cut that down more by not trying numbers in the future) = 30
Now, of course, it could be a day/month combination in MMDD or DDMM
(work through this with the participants)
So to guess all recent years, and all month/day combinations, you’re still looking at 1680 guesses, which is a lot more doable than 10,000. It’s worth noting, though, that even with all of this work, this is still more work than an exhaustive guess of all possible combinations for a 3-digit combo lock, at 10×10×10 = 1000, so spring for that four digit combo lock – and don’t use a year (or 1234).
A (now-defunct) firm called DataGenetics put out a really great post on PIN code entropy, which gives a dose of cold reality from leaked PIN data. In their research, “1234” accounted for 10% of all PIN codes by itself, and “1111” brings in another 6%.
Going through just 5 of most common PINs from their 2018 analysis will net you over 20% of the PIN codes which were in the 3.5 million code leak, and you’ll get 50% with only 426 guesses.
Of course, going against any single specific PIN code among the 10,000 potential options, you never know – but broadly speaking, and presuming PIN code habits haven’t changed much since this data leak; you have a one-in-ten chance with just one guess of 1234, and one-in-four chance to guess in 20 guesses, and 426 guesses gets you to 1-in-2 chances.