public final class PasswordStrengthChecker
This class offers functionality to determine the strength of passwords. The
method 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.