public class ComplexKit extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ComplexKit.CHAR_TYPE
字符类型枚举
|
static class |
ComplexKit.PASSWD_LEVEL
密码等级枚举
|
| Constructor and Description |
|---|
ComplexKit() |
| Modifier and Type | Method and Description |
|---|---|
static int |
check(String passwd)
检查密码的健壮性
|
static ComplexKit.PASSWD_LEVEL |
getLevel(String passwd)
获得密码强度等级,包括易、中、强、非常强、极强
|
public static int check(String passwd)
passwd - 密码public static ComplexKit.PASSWD_LEVEL getLevel(String passwd)
passwd - 密码Copyright © 2021. All rights reserved.