NotQwerty123 v1.0.0 NotQwerty123.Common
Module to check if the password is too common.
This module has functions to check if the password, or a similar password, is in the common passwords list.
There are also checks on the password with the first letter removed, the last letter removed, and both the first and last letters removed.
Summary
Functions
Check to see if the passord is too similar to any of the passwords in the common password list
Functions
Check to see if the passord is too similar to any of the passwords in the common password list.
The password is checked after certain common substitutions have been made. It is also checked with the first letter and / or the last letter removed.
Examples
The password p@$5W0rD9
would produce these (among other) words,
which can be checked against a list of common passwords:
["p4sswordg", "assword9", "assword", "password",
"p@s%word", "pas%w0rd9", "a$%w0rd9", "p445w0rd"]
As can be seen, p@$5W0rD9
is similar to the very common password password
,
and so it is judged to be too weak.