| 程序包 | 说明 |
|---|---|
| com.github.houbb.hash.bs | |
| com.github.houbb.hash.core.handler | |
| com.github.houbb.hash.util |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
HashBs.execute(IHashResultHandler<T> handler)
执行
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
Base64HashResultHandler |
class |
BytesHashResultHandler |
class |
DefaultHashResultHandler |
class |
HexHashResultHandler |
| 限定符和类型 | 方法和说明 |
|---|---|
static IHashResultHandler<String> |
HashResultHandlers.base64()
base64 算法
|
static IHashResultHandler<byte[]> |
HashResultHandlers.bytes()
bytes 算法
|
static IHashResultHandler<IHashResult> |
HashResultHandlers.defaults()
默认算法
|
static IHashResultHandler<String> |
HashResultHandlers.hex()
hex 算法
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
HashHelper.hash(HashType type,
String text,
IHashResultHandler<T> hashResultHandler)
hash 计算
|
static <T> T |
HashHelper.hash(HashType type,
String text,
String salt,
IHashResultHandler<T> hashResultHandler)
hash 计算
|
static <T> T |
HashHelper.hash(HashType type,
String text,
String salt,
int times,
IHashResultHandler<T> hashResultHandler)
hash 计算
|
Copyright © 2020. All rights reserved.