decryptKey static method

  1. @Deprecated('Use AtChops package')
String decryptKey(
  1. String aesKey,
  2. String privateKey
)

Implementation

@Deprecated('Use AtChops package')
static String decryptKey(String aesKey, String privateKey) {
  var rsaPrivateKey = RSAPrivateKey.fromString(privateKey);
  return rsaPrivateKey.decrypt(aesKey);
}