decryptPrivateKey static method

Future<String> decryptPrivateKey(
  1. String privateKeyEncrypted,
  2. String password
)

Implementation

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

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