public class SM2Util extends java.lang.Object
static org.bouncycastle.math.ec.ECCurve
curve
static byte[]
decrypt(byte[] encryptData, java.math.BigInteger privateKey)
encrypt(java.lang.String input, org.bouncycastle.math.ec.ECPoint publicKey)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final org.bouncycastle.math.ec.ECCurve curve
public static byte[] encrypt(java.lang.String input, org.bouncycastle.math.ec.ECPoint publicKey)
input
publicKey
public static byte[] decrypt(byte[] encryptData, java.math.BigInteger privateKey)