decryptOAEP static method

Future<String> decryptOAEP(
  1. String ciphertext,
  2. String label,
  3. Hash hash,
  4. String privateKey,
)

Implementation

static Future<String> decryptOAEP(
    String ciphertext, String label, Hash hash, String privateKey) async {
  var request = DecryptOAEPRequest()
    ..ciphertext = ciphertext
    ..label = label
    ..hash = hash
    ..privateKey = privateKey;

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