public class SM2EncDecUtils extends Object
| 构造器和说明 |
|---|
SM2EncDecUtils() |
public static SM2KeyVO generateKeyPair()
public static String encrypt(byte[] publicKey, byte[] data) throws IOException
IOExceptionpublic static byte[] decrypt(byte[] privateKey,
byte[] encryptedData)
throws IOException
IOExceptionCopyright © 2023. All rights reserved.