public class SHACoder extends Object
| 构造器和说明 |
|---|
SHACoder() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
encodeSHA(byte[] data)
SHA-1消息摘要算法
|
static String |
encodeSHA256(byte[] data)
SHA-256消息摘要算法
|
static String |
encodeSHA384(byte[] data)
SHA-384消息摘要算法
|
static String |
encodeSHA512(byte[] data)
SHA-512消息摘要算法
|
static void |
main(String[] args) |
public static String encodeSHA256(byte[] data) throws Exception
Exceptionpublic static String encodeSHA384(byte[] data) throws Exception
Exceptionpublic static String encodeSHA512(byte[] data) throws Exception
ExceptionCopyright © 2022. All rights reserved.