add 新增 SecurityUtils.encryptBySm3 加密方法

feature/model
疯狂的狮子Li 2 years ago
parent ddc8acd978
commit b25137f129

@ -230,4 +230,14 @@ public class EncryptUtils {
return SecureUtil.sha256(data);
}
/**
* sm3
*
* @param data
* @return , Hex
*/
public static String encryptBySm3(String data) {
return SmUtil.sm3(data);
}
}

Loading…
Cancel
Save