{
  "id": "2018/1222",
  "url": "https://opencryptology.org/2018/1222",
  "original_url": "https://eprint.iacr.org/2018/1222",
  "title": "Implementing Token-Based Obfuscation under (Ring) LWE",
  "authors": [
    "Cheng Chen",
    "Nicholas Genise",
    "Daniele Micciancio",
    "Yuriy Polyakov",
    "Kurt Rohloff"
  ],
  "affiliations": null,
  "abstract": "Token-based obfuscation (TBO) is an interactive approach to cryptographic program obfuscation that was proposed by Goldwasser et al. (STOC 2013) as a potentially more practical alternative to conventional non-interactive security models, such as Virtual Black Box (VBB) and Indistinguishability Obfuscation. We introduce a query-revealing variant of TBO, and implement in PALISADE several optimized query-revealing TBO constructions based on (Ring) LWE covering a relatively broad spectrum of capabilities: linear functions, conjunctions, and branching programs.\n\nOur main focus is the obfuscation of general branching programs, which are asymptotically more efficient and expressive than permutation branching programs traditionally considered in program obfuscation studies. Our work implements read-once branching programs that are significantly more advanced than those implemented by Halevi et al. (ACM CCS 2017), and achieves program evaluation runtimes that are two orders of magnitude smaller. Our implementation introduces many algorithmic and code-level optimizations, as compared to the original theoretical construction proposed by Chen et al. (CRYPTO 2018). These include new trapdoor sampling algorithms for matrices of ring elements, extension of the original LWE construction to Ring LWE (with a hardness proof for non-uniform Ring LWE), asymptotically and practically faster token generation procedure, Residue Number System procedures for fast large integer arithmetic, and others.\n\nWe also present efficient implementations for TBO of conjunction programs and linear functions, which significantly outperform prior implementations of these obfuscation capabilities, e.g., our conjunction obfuscation implementation is one order of magnitude faster than the VBB implementation by Cousins et al. (IEEE S&P 2018). We also provide an example where linear function TBO is used for classifying an ovarian cancer data set. All implementations done as part of this work are packaged in a TBO toolkit that is made publicly available.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Implementing Token-Based Obfuscation under (Ring) LWE” by Cheng Chen, Nicholas Genise, Daniele Micciancio, Yuriy Polyakov, Kurt Rohloff, Cryptology ePrint Archive, Paper 2018/1222, https://eprint.iacr.org/2018/1222. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2018-12-30T12:52:14Z",
    "updated": "2020-12-01T03:16:55Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2018/1222.pdf",
    "sha256": "554cdcb78bffe5ba41dc4912e512020ecc628345f719644fddde53139decbf6c",
    "size": 521935,
    "source": "wayback",
    "source_date": "2024-10-09T02:45:35Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2018/1222/versions/20241009T024535Z.pdf",
      "captured_at": "2024-10-09T02:45:35Z",
      "label": "copy captured 2024-10-09",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20241009024535id_/https://eprint.iacr.org/2018/1222.pdf",
      "size": 521935,
      "sha256": "554cdcb78bffe5ba41dc4912e512020ecc628345f719644fddde53139decbf6c",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2018/1222/versions/20190218T000901Z.pdf",
      "captured_at": "2019-02-18T00:09:01Z",
      "label": "copy captured 2019-02-18",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20190218000901id_/https://eprint.iacr.org/2018/1222.pdf",
      "size": 396235,
      "sha256": "302a4288a614d5e348b872e7867dec25bc20e2610f0a2dcc962c066eecf7ba1c",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20241009024535id_/https://eprint.iacr.org/2018/1222.pdf",
      "captured_at": "2024-10-09T02:45:35Z",
      "size": 518191
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/1222.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "size": 521935
    }
  ],
  "bibtex": "@misc{cryptoeprint:2018/1222,\n      author = {Cheng Chen and Nicholas Genise and Daniele Micciancio and Yuriy Polyakov and Kurt Rohloff},\n      title = {Implementing Token-Based Obfuscation under (Ring) LWE},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2018/1222},\n      year = {2018},\n      url = {https://eprint.iacr.org/2018/1222}\n}"
}
