{
  "id": "2017/135",
  "url": "https://opencryptology.org/2017/135",
  "original_url": "https://eprint.iacr.org/2017/135",
  "title": "Hashing Garbled Circuits for Free",
  "authors": [
    "Xiong Fan",
    "Chaya Ganesh",
    "Vladimir Kolesnikov"
  ],
  "affiliations": null,
  "abstract": "We introduce {\\em Free Hash}, a new approach to generating Garbled Circuit (GC) hash at no extra cost during GC generation.  This is in contrast with state-of-the-art approaches, which hash GCs at computational cost of up to $6\\times$ of GC generation.  GC hashing is at the core of the cut-and-choose technique of GC-based secure function evaluation (SFE).\n\nOur main idea is to intertwine hash generation/verification with GC generation and evaluation.  While we {\\em allow} an adversary to generate a GC $\\widehat{\\GC}$ whose hash collides with an honestly generated $\\GC$, such a $\\widehat{\\GC}$  w.h.p. will fail evaluation and cheating will be discovered.  Our GC hash is simply a (slightly modified) XOR of all the gate table rows of GC.  It is compatible with Free XOR and half-gates garbling, and can be made to work with many cut-and-choose SFE protocols.\n\nWith today's network speeds being not far behind hardware-assisted fixed-key garbling throughput, eliminating the GC hashing cost will significantly improve SFE performance.  Our estimates show substantial cost reduction in typical settings, and up to factor $6$ in specialized applications relying on GC hashes.\n\nWe implemented GC hashing algorithm and report on its performance.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Hashing Garbled Circuits for Free” by Xiong Fan, Chaya Ganesh, Vladimir Kolesnikov, Cryptology ePrint Archive, Paper 2017/135, https://eprint.iacr.org/2017/135. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2017-02-16T22:08:04Z",
    "updated": "2019-05-20T17:06:55Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2017/135.pdf",
    "sha256": "95d588b96929c7e3f2050f747abcc4aa183b5e3a8bd6848ee646e5280b5c6653",
    "size": 521545,
    "source": "github-mirror",
    "source_date": "2019-07-09T19:49:17Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2017/135/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/2017/135.pdf",
      "size": 521545,
      "sha256": "95d588b96929c7e3f2050f747abcc4aa183b5e3a8bd6848ee646e5280b5c6653",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2017/135/versions/20170710T113941Z.pdf",
      "captured_at": "2017-07-10T11:39:41Z",
      "label": "copy captured 2017-07-10",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20170710113941id_/http://eprint.iacr.org/2017/135.pdf",
      "size": 519635,
      "sha256": "ccb63be86e361245bc7e60f200b1cfdf789eabdc8d967b1bd4a00352511b393d",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260310022006id_/https://eprint.iacr.org/2017/135.pdf",
      "captured_at": "2026-03-10T02:20:06Z",
      "size": 522842
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/135.pdf",
      "captured_at": "2019-07-09T19:49:17Z",
      "size": 521545
    }
  ],
  "bibtex": "@misc{cryptoeprint:2017/135,\n      author = {Xiong Fan and Chaya Ganesh and Vladimir Kolesnikov},\n      title = {Hashing Garbled Circuits for Free},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2017/135},\n      year = {2017},\n      url = {https://eprint.iacr.org/2017/135}\n}"
}
