public class ApiSecurityUtils extends Object
ApiSecurityUtils()
static String
decrypt(String sm4KeyBySm2, String decryptStr)
static ApiEncryptBody
encrypt(String encryptStr, String frontPublicKey)
static void
main(String[] args)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ApiSecurityUtils()
public static String decrypt(String sm4KeyBySm2, String decryptStr)
sm4KeyBySm2
decryptStr
public static ApiEncryptBody encrypt(String encryptStr, String frontPublicKey)
encryptStr
frontPublicKey
public static void main(String[] args) throws Exception
Exception
Copyright © 2025. All rights reserved.