decryptPKCS1v15 static method

Future<String> decryptPKCS1v15(
  1. String ciphertext,
  2. String privateKey
)

Implementation

static Future<String> decryptPKCS1v15(
    String ciphertext, String privateKey) async {
  var request = DecryptPKCS1v15Request()
    ..ciphertext = ciphertext
    ..privateKey = privateKey;

  return await _stringResponse("decryptPKCS1v15", request.writeToBuffer());
}