public final class PasswordStrengthChecker
extends java.lang.Object
getPasswordStrength() calculates the strength of a
password based on several criteria, such as number of digits, number of
special characters, and the like and returns the computed strength as an
integer between 0 and 100, where higher values mean higher strength.PasswordGenerator| Constructor and Description |
|---|
PasswordStrengthChecker() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getPasswordStrength(java.lang.CharSequence password)
Monotone function that calculates the password strength for the given
password.
|
public static int getPasswordStrength(java.lang.CharSequence password)
password - the password