ledger has a max. 8 number pin for unlocking it as far I know.

I am very interested, can someone say if (given any method/resources) it is in any scenario (except luck) possible to guess this 8 number pin within 3 tries? Because as i understand after 3rd try, the device resets.

Is this too hard or possible?

And if you know, could you calculate (or tell me how) the entropy for this case (8 random numbers, 3 tries)?


1 Answer 1


With an 8-digit PIN, the number of possible PIN combinations is 10^8 (100,000,000), ranging from 00000000 to 99999999.

So you chance of just guessing the PIN correctly within three tries is about 1 in 33,333,333. So it is of course possible, but extremely unlikely.

Note that an attacker could perhaps increase their chances by eliminating some possibilities (eg, assume nobody would just choose 00000000 as their unlock PIN), and/or by making a more educated guess based on knowledge of the victim (eg their birthday is 19 Jan 1980, so try the PIN 19011980).

Entropy is often described in terms of bits. To find the total entropy, take the binary logarithm of the total number of combinations. This turns out to be 26.575 bits of entropy.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.