Password strength is calculated using entropy, which measures unpredictability.
The formula used is: E = L * log2(R)
- L = Password length
- R = Size of the character set used
Strength Levels:
- Weak (0-40 bits): Easily crackable
- Fair (40-60 bits): Moderate security
- Good (60-80 bits): Reasonable for most purposes
- Strong (80-100 bits): Very secure
- Very Strong (100+ bits): Extremely secure