{
  "id": "2016/093",
  "url": "https://opencryptology.org/2016/093",
  "original_url": "https://eprint.iacr.org/2016/093",
  "title": "Valiant's Universal Circuit is Practical",
  "authors": [
    "Ágnes Kiss",
    "Thomas Schneider"
  ],
  "affiliations": null,
  "abstract": "Universal circuits (UCs) can be programmed to evaluate any circuit of a given size $k$. They provide elegant solutions in various application scenarios, e.g. for private function evaluation (PFE) and for improving the flexibility of attribute-based encryption (ABE) schemes. The optimal size of a universal circuit is proven to be $\\Omega(k\\log k)$. Valiant (STOC'76) proposed a size-optimized UC construction, which has not been put in practice ever since. The only implementation of universal circuits was provided by Kolesnikov and Schneider (FC'08), with size $\\mathcal{O}(k\\log^2 k)$.\n\nIn this paper, we refine the size of Valiant's UC and further improve the construction by (at least) $2k$. We show that due to recent optimizations and our improvements, it is the best solution to apply in the case for circuits with a constant number of inputs and outputs. When the number of inputs or outputs is linear in the number of gates, we propose a more efficient hybrid solution based on the two existing constructions. We validate the practicality of Valiant's UC, by giving an example implementation for PFE using these size-optimized UCs.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Valiant's Universal Circuit is Practical” by Ágnes Kiss, Thomas Schneider, Cryptology ePrint Archive, Paper 2016/093, https://eprint.iacr.org/2016/093. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2016-02-02T18:16:33Z",
    "updated": "2016-02-19T09:50:26Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2016/093.pdf",
    "sha256": "a5c71322dab0b1ee144794403c1a5f1cebd3f0b4ceb48bf4f2407431efdbffbe",
    "size": 1092238,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:24:56Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2016/093/versions/20190225T172456Z.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/093.pdf",
      "size": 1092238,
      "sha256": "a5c71322dab0b1ee144794403c1a5f1cebd3f0b4ceb48bf4f2407431efdbffbe",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251230031518id_/https://eprint.iacr.org/2016/093.pdf",
      "captured_at": "2025-12-30T03:15:18Z",
      "size": 987749
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/093.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "size": 1092238
    }
  ],
  "bibtex": "@misc{cryptoeprint:2016/093,\n      author = {Ágnes Kiss and Thomas Schneider},\n      title = {Valiant's Universal Circuit is Practical},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2016/093},\n      year = {2016},\n      url = {https://eprint.iacr.org/2016/093}\n}"
}
