For those who want to generate a strong passphrase, with enough entropy to avoid single points of failure and to add an extra safeguard in case the entropy of the generated seed is weak for any reason:
\[
E = \log_2(N^L)
\]
Where:
E = entropy in bits
N = size of the character set
L = password length
Character set size:
- Numbers only: \(N = 10\)
- Lowercase letters only: \(N = 26\)
- Uppercase letters only: \(N = 26\)
- Numbers + lowercase letters: \(N = 36\)
- Numbers + uppercase + lowercase letters: \(N = 62\)
- Numbers + letters + special characters: \(N \approx 94\)
Ideally, the passphrase should exceed 90 bits. 128 bits or more is even better.
In practice, length has much more impact than artificial character mixing.
This all assumes fully random characters. Since that is usually not the case with passphrases created by people, the real entropy is typically much lower. That is why it is better to leave a wide safety margin. You can estimate the apparent strength of your passphrase with zxcvbn (for example, in KeePassXC), but remember that this is extremely sensitive information and that it is risky to type it into digital systems, except in trusted offline environments.
\[
E = \log_2(N^L)
\]
Where:
E = entropy in bits
N = size of the character set
L = password length
Character set size:
- Numbers only: \(N = 10\)
- Lowercase letters only: \(N = 26\)
- Uppercase letters only: \(N = 26\)
- Numbers + lowercase letters: \(N = 36\)
- Numbers + uppercase + lowercase letters: \(N = 62\)
- Numbers + letters + special characters: \(N \approx 94\)
Ideally, the passphrase should exceed 90 bits. 128 bits or more is even better.
In practice, length has much more impact than artificial character mixing.
This all assumes fully random characters. Since that is usually not the case with passphrases created by people, the real entropy is typically much lower. That is why it is better to leave a wide safety margin. You can estimate the apparent strength of your passphrase with zxcvbn (for example, in KeePassXC), but remember that this is extremely sensitive information and that it is risky to type it into digital systems, except in trusted offline environments.
