public static ISM2 CreateWithPrivateKey(BigInteger key) => new Sm2Function(Sm2KeyGenerator.GeneratePrivateKey(key));
public static ISM2 CreateWithPrivateKey(string key) => new Sm2Function(Sm2KeyGenerator.GeneratePrivateKey(key));
public static Sm2Key GeneratePrivateKey(BigInteger privatePem) => Sm2KeyGenerator.GeneratePrivateKey(privatePem);
public static Sm2Key GeneratePrivateKey(string privateKey) => Sm2KeyGenerator.GeneratePrivateKey(privateKey);
public static Sm2Key GeneratePrivateKey() => Sm2KeyGenerator.GeneratePrivateKey();