- Source:
Methods
(inner) strengthChecker(password, constraints) → {strengthCheckedPassword}
A that provides various form of information about a password such as the:
- Bits of entropy calculated as
E = l(log2(p))
; where: - E = Entropy of the password,
- l = Length of the password,
- p = Is the number of Possibilities (number of possible characters).
- Possible combinations for the password,
- Binary string representation of the password,
- Length of the binary string,
- Average bit length of each character.
Parameters:
Name | Type | Description |
---|---|---|
password | string | The password to check the strength of. |
constraints | strengthCheckerConstraints | An |
- Source:
Requires:
Returns:
An object
containing the strength checked password, its strength score, and the bit entropy of the password.