【8.1.8】【guomi】更新sm3 util封装

dev-8.1.9
stylefeng 2024-06-26 10:14:26 +08:00
parent d289b0e92b
commit 43acf1aeb3
1 changed files with 10 additions and 0 deletions

View File

@ -45,4 +45,14 @@ public class GuomiUtil {
return sm2.decryptStr(encryptedStr, KeyType.PrivateKey, StandardCharsets.UTF_8);
}
/**
* SM3MD5
*
* @author fengshuonan
* @since 2024/6/26 10:10
*/
public static String sm3(String text) {
return SmUtil.sm3(text);
}
}