程序包 cn.benma666.sm
类 SM3
java.lang.Object
cn.benma666.sm.SM3
SM3杂凑算法实现,与MD5对应的国产算法
- 作者:
- Potato
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static StringbyteArrayToHexString(byte[] b) static Stringstatic byte[]hash(byte[] source) static byte[]static byte[]static StringhashHex(byte[] b) static Stringstatic voidstatic byte[]toByteArray(int i)
-
构造器详细资料
-
SM3
public SM3()
-
-
方法详细资料
-
hash
- 抛出:
IOException
-
hash
- 抛出:
Exception
-
hash
- 抛出:
Exception
-
toByteArray
public static byte[] toByteArray(int i) -
byteArrayToHexString
-
hashHex
-
hashHex
-
decode
- 抛出:
IOException
-
main
- 抛出:
IOException
-