{
  "id": "2022/1413",
  "url": "https://opencryptology.org/2022/1413",
  "original_url": "https://eprint.iacr.org/2022/1413",
  "title": "How to Compress Encrypted Data",
  "authors": [
    "Nils Fleischhacker",
    "Kasper Green Larsen",
    "Mark Simkin"
  ],
  "affiliations": null,
  "abstract": "We study the task of obliviously compressing a vector comprised of $n$ ciphertexts of size $\\xi$ bits each, where at most $t$ of the corresponding plaintexts are non-zero.\nThis problem commonly features in applications involving encrypted outsourced storages, such as searchable encryption or oblivious message retrieval.\nWe present two new algorithms with provable worst-case guarantees, solving this problem by using only homomorphic additions and multiplications by constants.\nBoth of our new constructions improve upon the state of the art asymptotically and concretely.\n\nOur first construction, based on sparse polynomials, is perfectly correct and the first to achieve an asymptotically optimal compression rate by compressing the input vector into $\\mathcal{O}(t \\xi)$ bits.\nCompression can be performed homomorphically by performing $\\mathcal{O}(n \\log n)$ homomorphic additions and multiplications by constants.\nThe main drawback of this construction is a decoding complexity of $\\Omega(\\sqrt{n})$.\n\nOur second construction is based on a novel variant of invertible bloom lookup tables and is correct with probability $1-2^{-\\kappa}$.\nIt has a slightly worse compression rate compared to our first construction as it compresses the input vector into $\\mathcal{O}(\\xi\\kappa t /\\log t)$ bits, where $\\kappa \\geq \\log t$.\nIn exchange, both compression and decompression of this construction are highly efficient.\nThe compression complexity is dominated by $\\mathcal{O}(n \\kappa/\\log t)$ homomorphic additions and multiplications by constants.\nThe decompression complexity is dominated by $\\mathcal{O}(\\kappa t /\\log t)$ decryption operations and equally many inversions of a pseudorandom permutation.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“How to Compress Encrypted Data” by Nils Fleischhacker, Kasper Green Larsen, Mark Simkin, Cryptology ePrint Archive, Paper 2022/1413, https://eprint.iacr.org/2022/1413. 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-18T12:54:39Z",
    "updated": "2023-02-23T15:40:05Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1413.pdf",
    "sha256": "f94f2d59fed54cf06dddf63d9c21cdd7a4bb497169ab6e9b2a7c63c279fcf394",
    "size": 508346,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1413/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1413.pdf",
      "size": 508346,
      "sha256": "f94f2d59fed54cf06dddf63d9c21cdd7a4bb497169ab6e9b2a7c63c279fcf394",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/1413/versions/20221024T150056Z.pdf",
      "captured_at": "2022-10-24T15:00:56Z",
      "label": "copy captured 2022-10-24",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20221024150056id_/https://eprint.iacr.org/2022/1413.pdf",
      "size": 525198,
      "sha256": "81ae8cf7f3c4c1126d1a34e606ca787417e0b26155735d9436c02b591fd8e1a5",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250916201955id_/https://eprint.iacr.org/2022/1413.pdf",
      "captured_at": "2025-09-16T20:19:55Z",
      "size": 506917
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1413.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 508346
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1413,\n      author = {Nils Fleischhacker and Kasper Green Larsen and Mark Simkin},\n      title = {How to Compress Encrypted Data},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1413},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1413}\n}"
}
