decryptPKCS1v15Bytes static method

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

Implementation

static Future<Uint8List> decryptPKCS1v15Bytes(
    Uint8List ciphertext, String privateKey) async {
  var request = DecryptPKCS1v15BytesRequest()
    ..ciphertext = ciphertext
    ..privateKey = privateKey;

  return await _bytesResponse(
      "decryptPKCS1v15Bytes", request.writeToBuffer());
}