{
  "id": "2012/693",
  "url": "https://opencryptology.org/2012/693",
  "original_url": "https://eprint.iacr.org/2012/693",
  "title": "Encoding Functions with Constant Online Rate or How to Compress Garbled Circuits Keys",
  "authors": [
    "Benny Applebaum",
    "Yuval Ishai",
    "Eyal Kushilevitz",
    "Brent Waters"
  ],
  "affiliations": null,
  "abstract": "\\emph{Randomized encodings of functions} can be used to replace a ``complex'' function $f(x)$ by a ``simpler'' randomized mapping $\\hat{f}(x;r)$ whose output distribution on an input $x$ encodes the value of $f(x)$ and hides any other information about $x$. One desirable feature of randomized encodings is low \\emph{online complexity}. That is, the goal is to obtain a randomized encoding $\\hat{f}$ of $f$ in which most of the output can be precomputed and published before seeing the input $x$. When the input $x$ is available, it remains to publish only a short string $\\hat{x}$, where the online complexity of computing $\\hat{x}$ is independent of (and is typically much smaller than) the complexity of computing $f$. Yao's garbled circuit construction gives rise to such randomized encodings in which the online part $\\hat{x}$ consists of $n$ encryption keys of length $\\kappa$ each, where $n=|x|$ and $\\kappa$ is a security parameter. Thus, the {\\em online rate} $|\\hat{x}|/|x|$ of this encoding is proportional to the security parameter $\\kappa$.\n\nIn this paper, we show that the online rate can be dramatically improved. Specifically, we show how to encode any polynomial-time computable function $f:\\bit^n\\to\\bit^{m(n)}$ with online rate of $1+o(1)$ and with nearly linear online computation. More concretely, the online part $\\hat{x}$ consists of an $n$-bit string and a single encryption key. These constructions can be based on the decisional Diffie-Hellman assumption (DDH), the Learning with Errors assumption (LWE), or the RSA assumption. We also present a variant of this result which applies to {\\em arithmetic formulas}, where the encoding only makes use of arithmetic operations, as well as several negative results which complement our positive results.\n\nOur positive results can lead to efficiency improvements in most contexts where randomized encodings of functions are used. We demonstrate this by presenting several concrete applications. These include protocols for secure multiparty computation and for non-interactive verifiable computation in the preprocessing model which achieve, for the first time, an optimal online communication complexity, as well as non-interactive zero-knowledge proofs which simultaneously minimize the online communication and the prover's online computation.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Encoding Functions with Constant Online Rate or How to Compress Garbled Circuits Keys” by Benny Applebaum, Yuval Ishai, Eyal Kushilevitz, Brent Waters, Cryptology ePrint Archive, Paper 2012/693, https://eprint.iacr.org/2012/693. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2012-12-14T18:49:46Z",
    "updated": "2015-02-15T07:39:26Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2012/693.pdf",
    "sha256": "6207ad26f89594a3b51e892a4ff66b835dee055926f66131814349f7f94afd2b",
    "size": 542593,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:37:15Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2012/693/versions/20190225T163715Z.pdf",
      "captured_at": "2019-02-25T16:37:15Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2012/693.pdf",
      "size": 542593,
      "sha256": "6207ad26f89594a3b51e892a4ff66b835dee055926f66131814349f7f94afd2b",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2012/693/versions/20140123T084406Z.pdf",
      "captured_at": "2014-01-23T08:44:06Z",
      "label": "copy captured 2014-01-23",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20140123084406id_/http://eprint.iacr.org:80/2012/693.pdf",
      "size": 522455,
      "sha256": "c2c63983d8d8fcea5fd33a2d9e2000201359f3c5fd185129945571f6d2fa596f",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2012/693/versions/20130624T013907Z.pdf",
      "captured_at": "2013-06-24T01:39:07Z",
      "label": "copy captured 2013-06-24",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20130624013907id_/http://eprint.iacr.org/2012/693.pdf",
      "size": 521910,
      "sha256": "ed78e5af597b61dc05aea1bdb0bb799b1b4798f4859255025cf61b1bc45813de",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2012/693/versions/20130108T015024Z.pdf",
      "captured_at": "2013-01-08T01:50:24Z",
      "label": "copy captured 2013-01-08",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20130108015024id_/http://eprint.iacr.org/2012/693.pdf",
      "size": 515264,
      "sha256": "79744324181bf58bf75eee3f92aad714350379cd699202b095e0f35592348235",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260105034507id_/https://eprint.iacr.org/2012/693.pdf",
      "captured_at": "2026-01-05T03:45:07Z",
      "size": 527655
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2012/693.pdf",
      "captured_at": "2019-02-25T16:37:15Z",
      "size": 542593
    }
  ],
  "bibtex": "@misc{cryptoeprint:2012/693,\n      author = {Benny Applebaum and Yuval Ishai and Eyal Kushilevitz and Brent Waters},\n      title = {Encoding Functions with Constant Online Rate or How to Compress Garbled Circuits Keys},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2012/693},\n      year = {2012},\n      url = {https://eprint.iacr.org/2012/693}\n}"
}
