public class SM2EncDecUtils extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
private_key |
static String |
public_key |
| 构造器和说明 |
|---|
SM2EncDecUtils() |
public static String encrypt(byte[] publicKey, byte[] data) throws IOException
IOExceptionpublic static byte[] decrypt(byte[] privateKey,
byte[] encryptedData)
throws IOException
IOExceptionCopyright © 2024. All rights reserved.