public class EncryptionFunctions extends Object
| 构造器和说明 |
|---|
EncryptionFunctions() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
aesDecrypt(byte[] content,
byte[] password) |
static byte[] |
aesEncrypt(byte[] text,
byte[] password) |
static String |
base64(String text) |
static Long |
crc32(String text) |
static byte[] |
createDigest(String digestType,
String text) |
static String |
hex(byte[] text) |
static String |
md5(String text) |
static String |
password(byte[] text) |
static byte[] |
randomBytes(Integer length) |
static String |
sha(byte[] text) |
static String |
sha1(byte[] text) |
static String |
sha2(byte[] text,
Integer hashLength) |
static String |
unbase64(String text) |
static byte[] |
unhex(String text) |
Copyright © 2021 kubeclub. All rights reserved.