Comeonin.Password.Substitutions
A submodule of the Comeonin.Password
module.
This module has functions to make standard substitutions when checking 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
Create a list of all the different possible variants of the password
Functions
Create a list of all the different possible variants of the password.
This list contains versions of the password in which certain common substitutions have been made. It also has versions 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.