eric7.Utilities.PasswordChecker
Module implementing a checker for password strength.
Global Attributes
Classes
Functions
PasswordCheckStatus
Class defining the status of a password check.
Derived from
enum.Enum
Class Attributes
Class Methods
Methods
Static Methods
PasswordChecker
Class implementing a checker for password strength.
Derived from
None
Class Attributes
Class Methods
Methods
Static Methods
PasswordChecker (Constructor)
PasswordChecker()
Constructor
PasswordChecker.__determineBinaryStatus
__determineBinaryStatus(value)
Private method to determine a binary status.
- value (int)
-
value to check
- Return:
-
status
- Return Type:
-
PasswordCheckStatus
PasswordChecker.__determineStatus
__determineStatus(value)
Private method to determine the status.
- value (int)
-
value to check
- Return:
-
status
- Return Type:
-
PasswordCheckStatus
PasswordChecker.__strReverse
__strReverse(string)
Private method to reverse a string.
- string (str)
-
string to be reversed
- Return:
-
reversed string
- Return Type:
-
str
PasswordChecker.checkPassword
checkPassword(password)
Public method to check a given password.
- password (str)
-
password to be checked
- Return:
-
indication for the password strength
- Return Type:
-
PasswordStrength
PasswordStrength
Class defining the password strength.
Derived from
enum.IntEnum
Class Attributes
Good |
Strong |
VeryStrong |
VeryWeak |
Weak |
Class Methods
Methods
Static Methods