1
0
mirror of https://gitee.com/dromara/hutool.git synced 2025-04-05 17:37:59 +08:00

fix return

This commit is contained in:
Looly 2021-07-02 00:43:51 +08:00
parent c42bb13a07
commit 8f487a7ec4
2 changed files with 4 additions and 3 deletions
CHANGELOG.md
hutool-crypto/src/main/java/cn/hutool/crypto

View File

@ -3,9 +3,10 @@
-------------------------------------------------------------------------------------------------------------
# 5.7.4 (2021-06-30)
# 5.7.4 (2021-07-02)
### 🐣新特性
* 【crypto 】 SmUtil.sm4统一返回类型issue#I3YKD4@Gitee
### 🐞Bug修复
-------------------------------------------------------------------------------------------------------------

View File

@ -188,9 +188,9 @@ public class SmUtil {
* </pre>
*
* @param key 密钥
* @return {@link SymmetricCrypto}
* @return {@link SM4}
*/
public static SymmetricCrypto sm4(byte[] key) {
public static SM4 sm4(byte[] key) {
return new SM4(key);
}