public class Digest extends Object
| 构造器和说明 |
|---|
Digest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
HMAC_SHA1(byte[] source,
byte[] key) |
static byte[] |
HMAC_SHA1(String source,
String key) |
static byte[] |
HMAC_SHA256(byte[] source,
byte[] key) |
static byte[] |
HMAC_SHA512(byte[] source,
byte[] key) |
static String |
MD5(byte[] bytes) |
static String |
MD5(String code) |
static String |
SALT2MD5(String code) |
static String |
SHA1(byte[] bytes) |
static String |
SHA1(String str) |
static String |
SHA256(byte[] bytes) |
static String |
SHA256(String str) |
static String |
SHA512(byte[] bytes) |
static String |
SHA512(String str) |
public static String MD5(byte[] bytes)
public static String SHA1(byte[] bytes)
public static String SHA256(byte[] bytes)
public static String SHA512(byte[] bytes)
public static byte[] HMAC_SHA1(byte[] source,
byte[] key)
public static byte[] HMAC_SHA256(byte[] source,
byte[] key)
public static byte[] HMAC_SHA512(byte[] source,
byte[] key)
Copyright © 2022. All rights reserved.