| 程序包 | 说明 |
|---|---|
| com.gitee.qdbp.tools.specialized |
| 类和说明 |
|---|
| KeywordHandler
关键字收集
|
| PasswordHash
密码盐渍算法工具类,生成70个字符的密码hash,可以调整SALT_BYTE_SIZE,HASH_BYTE_SIZE来改变
how to use: String password = "123456"; String ciphertext = PasswordHash.DEFAULT.createHash(password); boolean success = PasswordHash.DEFAULT.validatePassword(password, ciphertext); |
Copyright © 2020. All rights reserved.