decryptPrivateKey static method

String decryptPrivateKey(
  1. String privateKeyEncrypted,
  2. String password
)

Implementation

static String decryptPrivateKey(String privateKeyEncrypted, String password) {
  var requestBuilder = model.DecryptPrivateKeyRequestObjectBuilder(
    privateKeyEncrypted: privateKeyEncrypted,
    password: password,
  );

  return RSAResponseHandlers.stringResponse(
      RSABridge.callSync("decryptPrivateKey", requestBuilder.toBytes()));
}