| 构造器和说明 |
|---|
Codecs() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
bytes(String s) |
static byte[] |
decode(String str) |
static String |
encode(byte[] bytes) |
static String |
encode(int i) |
static String |
encode(long l) |
static byte[] |
hash(byte[] bytes) |
static String |
hash(String str) |
static String |
hash(String str,
int len) |
static String |
md5Hex(byte[] bytes) |
static String |
md5Hex(String str) |
static String |
sha1Hex(byte[] bytes) |
static String |
sha1Hex(String str) |
static String |
string(byte[] bytes) |
static String |
uuid() |
static String |
uuid(int len) |
static byte[] |
xor(byte[] bytes,
byte[] keyBytes) |
static String |
xorDecode(String str,
String key) |
static String |
xorEncode(String str,
String key) |
public static byte[] hash(byte[] bytes)
public static String md5Hex(byte[] bytes)
public static String sha1Hex(byte[] bytes)
public static String encode(byte[] bytes)
public static String encode(long l)
public static String encode(int i)
public static byte[] decode(String str)
public static byte[] xor(byte[] bytes,
byte[] keyBytes)
public static String uuid()
public static String uuid(int len)
public static byte[] bytes(String s)
public static String string(byte[] bytes)
Copyright © 2015–2021 cn.gtmap. All rights reserved.