I'm using the password_strength
package from PyPi to assess password strength, using a policy of PasswordPolicy.from_names(strength=x)
.
The package documentation suggests that x=0.66
is a good choice. I've set up a random password generator, producing passwords containing upper- and lower-case letters, numerals and special symbols. For this password to pass strength=0.66
, it needs to be 15 characters long. Is that what we're really advocating these days for website passwords?
To get that down to eight random characters, I have to set strength=0.25
. I don't really have much grasp of what this "strength" number means, but that seems a long way below the recommendation.
Can someone explain what this number is in words a simpleton like me can understand? What's a reasonable number for a website password these days?
Edit The answer is really making me wonder if password strength is an appropriate measure to use. According to this, qwerty123
has exactly the same strength as m#U0(Bp94
.