public class SM3 extends Object
| 构造器和说明 |
|---|
SM3() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
byteArrayToHexString(byte[] b) |
static String |
decode(String str) |
static byte[] |
hash(byte[] source) |
static byte[] |
hash(File file) |
static byte[] |
hash(String source) |
static String |
hashHex(byte[] b) |
static String |
hashHex(String str) |
static void |
main(String[] args) |
static byte[] |
toByteArray(int i) |
public static byte[] hash(byte[] source)
throws IOException
IOExceptionpublic static byte[] toByteArray(int i)
public static String byteArrayToHexString(byte[] b)
public static String hashHex(byte[] b)
public static String decode(String str) throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
IOExceptionCopyright © 2024. All rights reserved.