DEV Community

Discussion on: Lockdown Programming Challenges: 1. Password Strength Indicator

Collapse
 
aminnairi profile image
Amin • Edited

Here is my proposal.

In my opinion, the strength would have been calculated that way:

  • extremely weak: Characters
  • very weak: Characters & digits
  • weak: Characters & digits & upper/lowercase
  • medium: Character & digits & upper/lowercase & special characters
  • strong: Characters & digits & upper/lowercase & special characters & more than 8 characters
  • very strong: Character & digits & upper/lowercase & special characters & more than 10 character
Collapse
 
drm317 profile image
Daniel Marlow

Go for it!

Collapse
 
brahiangarciat profile image
Brahian Garcia

I think it is also important to count the number of bits in the text string, because passwords automatically generated by tools with bit length parameter can have only numbers and letters but are still considered super safe

Collapse
 
drm317 profile image
Daniel Marlow

Feel free to add that as a requirement.