DEV Community

Discussion on: JavaScript Password Strength Detector

Collapse
 
_garybell profile image
Gary Bell

It's not so much a password strength detector as a length detector. Length is not equal to strength. there's not much different in strength between passwords 1111 and 11111.

The strength of a password should be based on the entropy, not just length. Use of numbers, symbols, and mixed-case letters should be encouraged, not just enforcing a mandatory length with no other considerations.

Collapse
 
madhubankhatri profile image
Madhuban Khatri

I'll improve this code soon...it is a demo purpose.
Normally we set our A/C password and website says more characters in field to create a Strong Password.
So I create this. 'More characters, More strong password'.