decrypt static method

String decrypt(
  1. RSAPrivateKey privateKey,
  2. String ciphertext
)

解密

Implementation

static String decrypt(RSAPrivateKey privateKey, String ciphertext) {
  final encrypter = Encrypter(RSA(privateKey: privateKey));
  return encrypter.decrypt64(ciphertext);
}