{
  "id": "2022/1438",
  "url": "https://opencryptology.org/2022/1438",
  "original_url": "https://eprint.iacr.org/2022/1438",
  "title": "Plug-and-play sanitization for TFHE",
  "authors": [
    "Florian Bourse",
    "Malika Izabachène"
  ],
  "affiliations": null,
  "abstract": "Fully Homomorphic encryption allows the evaluation of any circuits over encrypted data while preserving the privacy of the data. However, without any additional properties, no guarantee is provided for the privacy of the circuits which are evaluated. \n\nA sanitization algorithm allows to destroy all previous information about how a ciphertext was obtained, ensuring that the circuit which was evaluated remains secret. In this paper, we present two new techniques to randomize RLWE ciphertexts, and show how they can be used to achieve ciphertext sanitization for the TFHE scheme proposed by Chillotti et al. (Asiacrypt 2016), by modifying the bootstrapping procedure internally.\n\nOur first technique relies on a generalization of the strategy proposed by Bourse et al. (Crypto 2016) to the ring setting. Using a backward induction over the circuit size, we also improve on their proof technique to avoid randomization at each step of the computation, enabling faster randomization and smaller noise growth. While this first approach adapts well in theory, we show evidence that it fails to provide a practical solution and propose a second solution with more realistic parameters at the cost of using an additional public key.\n\nAs an additional contribution, we improve on the prohibitive size of the public key by relaxing the circuit privacy property to its computational counterpart, and build an efficient public randomizer composed of an RLWE-based public key encryption with additional properties on the ciphertexts distribution. We show that this randomizer can be used in the soak-and-spin paradigm of Ducas and Stehlé (Eurocrypt 2016) as well, and that it yields a significant improvement, mainly in the size of the public key.\n\nAs a proof of concept, we provide a C implementation of our sanitization strategy, which shows\nthat a sanitized LWE ciphertext can be obtained almost for free compared to a bootstrapped LWE ciphertext assuming many discrete Gaussian samples at hand.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Plug-and-play sanitization for TFHE” by Florian Bourse, Malika Izabachène, Cryptology ePrint Archive, Paper 2022/1438, https://eprint.iacr.org/2022/1438. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-10-21T18:48:29Z",
    "updated": "2026-02-17T21:59:41Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1438.pdf",
    "sha256": "48ea1b5a4bde8196ac670a4fdc15cd0de442251836dee04e39afae4b27306341",
    "size": 654066,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1438/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1438.pdf",
      "size": 654066,
      "sha256": "48ea1b5a4bde8196ac670a4fdc15cd0de442251836dee04e39afae4b27306341",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/1438/versions/20240317T082448Z.pdf",
      "captured_at": "2024-03-17T08:24:48Z",
      "label": "copy captured 2024-03-17",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240317082448id_/https://eprint.iacr.org/2022/1438.pdf",
      "size": 666853,
      "sha256": "9699adb3d1b5ad43693a51896e0aa92f17d2fee569a4670ee4abf9436d1879c7",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/1438/versions/20221024T180213Z.pdf",
      "captured_at": "2022-10-24T18:02:13Z",
      "label": "copy captured 2022-10-24",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20221024180213id_/https://eprint.iacr.org/2022/1438.pdf",
      "size": 607638,
      "sha256": "b7751af32ab567f606e82dddd52d67b6b0cc2e1dad8341f547e1792ed298001b",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260925124921id_/https://eprint.iacr.org/2022/1438.pdf",
      "captured_at": "2026-09-25T12:49:21Z",
      "size": 655415
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1438.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 654066
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1438,\n      author = {Florian Bourse and Malika Izabachène},\n      title = {Plug-and-play sanitization for TFHE},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1438},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1438}\n}"
}
