Class ComplexKit

java.lang.Object
org.aoju.bus.core.toolkit.ComplexKit

public class ComplexKit extends Object
检测字符强度 来自:https://github.com/venshine/CheckPasswordStrength
Since:
Java 17+
Author:
Kimi Liu
  • Constructor Details

    • ComplexKit

      public ComplexKit()
  • Method Details

    • check

      public static int check(String passwd)
      检查密码的健壮性
      Parameters:
      passwd - 密码
      Returns:
      level
    • getLevel

      public static ComplexKit.PASSWD_LEVEL getLevel(String passwd)
      获得密码强度等级,包括易、中、强、非常强、极强
      Parameters:
      passwd - 密码
      Returns:
      密码等级枚举