Hi Derek,
Thank you very much for the latest update..................
For example, Dmitry takes a password that has a length of 9 and grades it 'very strong' if it has instances of 'lowercase', 'uppercase', 'numbers' and 'special characters', downgrades it to 'strong' if it doesn't use 'special characters, downgrades it further to 'medium' if it doesn't use 'numbers' etc etc.
That's what I thought at first. I could see there were code for all those but when I entered 22222222222222 it rated as very strong? As you can see there are no instances of LowerCase, UpperCase and Symbols. Only numbers.
Your added lines stops it at Medium on repeating and patterns characters use.
However, currently I get followings:
passwords Strength
---------------------------------------
0123456789 = Medium
01234567891 = Strong
01234567891012 = Very Strong
aabbccddee = Medium
aabbccddeeffg = Strong
aabbccddeeffgg = Very Strong
As you can see one contains only number and other is alphabet characters. IMHO, beside measuring the password length, repeating characters, numbers and patterns (patterns at certain degree; basic ones would be sufficient for me as you already have added in):
Medium strength password should at least contains; numbers and characters or numbers and symbols or characters and symbols with at least one upper or lower case.
Strong strength password should at least contains; numbers, characters and symbols with at least one upper or lower case.
Very Strong strength password should at least contains; numbers, characters and symbols with at least two upper or lower case.
Adam
God... please help me become the person my dog thinks I am.