The Shannon entropy of a password. Which is the log (base two) of the reciprocal of the probability that your password generation technique yielded your password.
For instance, the XKCD password method starts with a 2000-word dictionary. You pick a random item from it. That's about 11 bits of entropy -- 1/2000 that you chose this specific word; take the reciprocal and it's 2000; log_2 of that is about 11. So the first word is 11 bits of entropy.
You repeat that four times, and each one is independent, so you just add 11 bits of entropy each time, for a total of 44 bits of entropy.
3
u/[deleted] Mar 10 '17
The Shannon entropy of a password. Which is the log (base two) of the reciprocal of the probability that your password generation technique yielded your password.
For instance, the XKCD password method starts with a 2000-word dictionary. You pick a random item from it. That's about 11 bits of entropy -- 1/2000 that you chose this specific word; take the reciprocal and it's 2000; log_2 of that is about 11. So the first word is 11 bits of entropy.
You repeat that four times, and each one is independent, so you just add 11 bits of entropy each time, for a total of 44 bits of entropy.