{
  "id": "2019/632",
  "url": "https://opencryptology.org/2019/632",
  "original_url": "https://eprint.iacr.org/2019/632",
  "title": "Fully Homomorphic Encryption for RAMs",
  "authors": [
    "Ariel Hamlin",
    "Justin Holmgren",
    "Mor Weiss",
    "Daniel Wichs"
  ],
  "affiliations": null,
  "abstract": "We initiate the study of fully homomorphic encryption for RAMs (RAM-FHE).  This is a public-key encryption scheme where, given an encryption of a large database $D$, anybody can efficiently compute an encryption of $P(D)$ for an arbitrary RAM program $P$. The running time over the encrypted data should be as close as possible to the worst case running time of $P$, which may be sub-linear in the data size.\n\nA central difficulty in constructing a RAM-FHE scheme is hiding the sequence of memory addresses accessed by $P$.  This is particularly problematic because an adversary may homomorphically evaluate many programs over the same ciphertext, therefore effectively ``rewinding''  any mechanism for making memory accesses oblivious.\n\nWe identify a necessary prerequisite towards constructing RAM-FHE that we call \\emph{rewindable oblivious RAM} (rewindable ORAM), which provides security even in this strong adversarial setting. We show how to construct rewindable ORAM using \\emph{symmetric-key doubly efficient PIR (SK-DEPIR)}    (Canetti-Holmgren-Richelson, Boyle-Ishai-Pass-Wootters: TCC '17).  We then show how to use rewindable ORAM, along with virtual black-box (VBB) obfuscation for specific circuits, to construct RAM-FHE. The latter primitive can be heuristically instantiated using existing indistinguishability obfuscation candidates. Overall, we obtain a RAM-FHE scheme where the multiplicative overhead in running time is polylogarithmic in the data size $N$. Our basic scheme is single-hop, but we also extend it to get multi-hop RAM-FHE with overhead $N^\\epsilon$ for arbitrarily small $\\epsilon>0$.\n\nWe view our work as the first evidence that RAM-FHE is likely to exist.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Fully Homomorphic Encryption for RAMs” by Ariel Hamlin, Justin Holmgren, Mor Weiss, Daniel Wichs, Cryptology ePrint Archive, Paper 2019/632, https://eprint.iacr.org/2019/632. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2019-06-03T07:28:06Z",
    "updated": "2019-06-17T16:18:54Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2019/632.pdf",
    "sha256": "8abe98d62fcd0fdd3a22c263a693f7b3a1eda995ca9de868ce762c5618d1d6c8",
    "size": 961815,
    "source": "github-mirror",
    "source_date": "2019-07-09T19:49:17Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2019/632/versions/20190709T194917Z.pdf",
      "captured_at": "2019-07-09T19:49:17Z",
      "label": "copy captured 2019-07-09",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2019/632.pdf",
      "size": 961815,
      "sha256": "8abe98d62fcd0fdd3a22c263a693f7b3a1eda995ca9de868ce762c5618d1d6c8",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260222100912id_/https://eprint.iacr.org/2019/632.pdf",
      "captured_at": "2026-02-22T10:09:12Z",
      "size": 954599
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2019/632.pdf",
      "captured_at": "2019-07-09T19:49:17Z",
      "size": 961815
    }
  ],
  "bibtex": "@misc{cryptoeprint:2019/632,\n      author = {Ariel Hamlin and Justin Holmgren and Mor Weiss and Daniel Wichs},\n      title = {Fully Homomorphic Encryption for RAMs},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2019/632},\n      year = {2019},\n      url = {https://eprint.iacr.org/2019/632}\n}"
}
