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

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修复 ### 🐞Bug修复
------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------

View File

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