encryptStringByPrivateKey method

Future<String> encryptStringByPrivateKey (
  1. String string,
  2. String privateKey
)

私钥加密

Implementation

static Future<String> encryptStringByPrivateKey(
    String string, String privateKey) async {
  return await _channel.invokeMethod('encryptStringByPrivateKey',
      {"string": string, "privateKey": privateKey});
}