decryptString static method

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

Implementation

static Future<String> decryptString(
    String privateKey, String ciphertext) async {
  return RSA.decryptPKCS1v15(ciphertext, privateKey);
}