eric7.Utilities.PasswordChecker

Module implementing a checker for password strength.

Global Attributes

None

Classes

PasswordCheckStatus Class defining the status of a password check.
PasswordChecker Class implementing a checker for password strength.
PasswordStrength Class defining the password strength.

Functions

None


PasswordCheckStatus

Class defining the status of a password check.

Derived from

enum.Enum

Class Attributes

Exceeded
Failed
Passed

Class Methods

None

Methods

None

Static Methods

None
Up


PasswordChecker

Class implementing a checker for password strength.

Derived from

None

Class Attributes

None

Class Methods

None

Methods

PasswordChecker Constructor
__determineBinaryStatus Private method to determine a binary status.
__determineStatus Private method to determine the status.
__strReverse Private method to reverse a string.
checkPassword Public method to check a given password.

Static Methods

None

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
Up


PasswordStrength

Class defining the password strength.

Derived from

enum.IntEnum

Class Attributes

Good
Strong
VeryStrong
VeryWeak
Weak

Class Methods

None

Methods

None

Static Methods

None
Up