{
  "id": "2024/988",
  "url": "https://opencryptology.org/2024/988",
  "original_url": "https://eprint.iacr.org/2024/988",
  "title": "Privacy-Preserving Dijkstra",
  "authors": [
    "Benjamin Ostrovsky"
  ],
  "affiliations": null,
  "abstract": "Given a graph $G(V,E)$, represented as a secret-sharing of an adjacency list, we show how to obliviously convert it into an alternative, MPC-friendly secret-shared representation, so-called $d$-normalized replicated adjacency list (which we abbreviate to $d$-normalized), where the size of our new data-structure is only 4x larger -- compared to the original (secret-shared adjacency list) representation of $G$. Yet, this new data structure enables us to execute oblivious graph algorithms that simultaneously improve underlying graph algorithms' round, computation, and communication complexity. Our $d$-normalization proceeds in two steps: \n\nFirst, we show how for any graph $G$, given a secret-shared adjacency list, where vertices are arbitrary alphanumeric strings that fit into a single RAM memory word, we can efficiently and securely rename vertices to integers from $1$ to $V$  that will appear in increasing order in the resulting secret-shared adjacency list. The secure renaming takes $O(\\log V)$ rounds and $O((V+E)\\log V)$ secure operations. Our algorithm also outputs two secret-shared arrays: a mapping from integers to alphanumeric names and its sorted inverse. Of course, if the adjacency list is already in such a format, this step could be omitted.\n\nSecond, given a secret-shared adjacency list for any graph $G$, where vertices are integers from $1$ to $V$ and are sorted, we show an oblivious $d$-normalization algorithm that takes $O(1)$ rounds and $O(V+E)$ secure operations.\n\nWe believe that both conversions are of independent interest. We demonstrate the power of our data structures by designing a privacy-preserving Dijkstra's single-source shortest-path algorithm that simultaneously achieves $O((V +E) \\cdot \\log V)$ secure operations and   $O(V \\cdot \\log V \\cdot  \\log \\log\\log V)$ rounds. Our secure Dijkstra algorithm works for any adjacency list representation as long as all vertex labels and weights can individually fit into a constant number of RAM memory words. Our algorithms work for two or a constant number of servers in the honest but curious setting.  The limitation of our result (to only a constant number of servers) is due to our reliance on linear work and constant-round secure shuffle.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY-NC-ND",
    "url": "https://creativecommons.org/licenses/by-nc-nd/4.0/",
    "label": "CC BY-NC-ND 4.0",
    "attribution": "“Privacy-Preserving Dijkstra” by Benjamin Ostrovsky, Cryptology ePrint Archive, Paper 2024/988, https://eprint.iacr.org/2024/988. Licensed under CC BY-NC-ND 4.0 (https://creativecommons.org/licenses/by-nc-nd/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": true,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2024-06-19T08:02:46Z",
    "updated": "2025-01-06T00:31:50Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/988.pdf",
    "sha256": "b9e968112c746034fd230ef69c82ce9d428d0afba9e42ec8ef57c7cd2bde5cfd",
    "size": 410917,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/988/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/988.pdf",
      "size": 410917,
      "sha256": "b9e968112c746034fd230ef69c82ce9d428d0afba9e42ec8ef57c7cd2bde5cfd",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/988/versions/20240709T030056Z.pdf",
      "captured_at": "2024-07-09T03:00:56Z",
      "label": "copy captured 2024-07-09",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240709030056id_/https://eprint.iacr.org/2024/988.pdf",
      "size": 382698,
      "sha256": "db301f09971ed9a7a6f0ec3ae15d8452e23459bc59122f79856d44d67e5c938a",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2024/988/versions/20240620T080851Z.pdf",
      "captured_at": "2024-06-20T08:08:51Z",
      "label": "copy captured 2024-06-20",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240620080851id_/https://eprint.iacr.org/2024/988.pdf",
      "size": 382509,
      "sha256": "eeac0a9894a95daf53b8c19c3f74608b198b16e3ea4a47ed706055d95181b747",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/988.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 410917
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260106185503id_/https://eprint.iacr.org/2024/988.pdf",
      "captured_at": "2026-01-06T18:55:03Z",
      "size": 407534
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/988,\n      author = {Benjamin Ostrovsky},\n      title = {Privacy-Preserving Dijkstra},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/988},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/988}\n}"
}
