Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ionize authored Aug 17, 2022
1 parent aca2a9d commit 43cf490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# JAVA-SM3-Crypto(国密SM3算法工具类)
# Java-SM3-Crypto(国密SM3算法工具类)
做信息安全大作业的时候按照国密SM3公开算法写的工具类,参考了国家密码管理局文档,实现了SM3算法和HmacSM3算法。
## 一、开始使用
SM3:
Expand All @@ -14,4 +14,4 @@ byte[] hmacSm3 = CryptoSM3.createHmac(msg.getBytes(),secretKey.getBytes());
String result = CryptoSM3.bytesToHexString(sm3);
```
## 二、资料
[国家密码管理局关于发布《SM3密码杂凑算法》公告](http://www.oscca.gov.cn/sca/xxgk/2010-12/17/content_1002389.shtml)
[国家密码管理局关于发布《SM3密码杂凑算法》公告](http://www.oscca.gov.cn/sca/xxgk/2010-12/17/content_1002389.shtml)

0 comments on commit 43cf490

Please sign in to comment.