Skip to content

CheckPasswordStrength 2.0.0

Choose a tag to compare

@venshine venshine released this 29 Oct 13:18
· 17 commits to master since this release

修复

  • 连续字母、键盘序列、连续数字出现在密码开头时未扣分
  • 字典检测写反,现在会识别包含字典词的密码(不区分大小写)
  • 13 位及以上的纯数字密码抛出 NumberFormatException

不兼容变更

  • 枚举 LEVEL.MIDIUM 更名为 LEVEL.MEDIUM
  • 部分密码评分变化,例如 Password123! 由 8 分降为 7 分,详见 CHANGELOG.md

接入

repositories {
    maven { url = 'https://jitpack.io' }
}
implementation 'com.github.venshine:CheckPasswordStrength:2.0.0'

也可直接下载附件中的 jar(Java 8 字节码)。