{
  "id": "2026/1238",
  "url": "https://opencryptology.org/2026/1238",
  "original_url": "https://eprint.iacr.org/2026/1238",
  "title": "On the Additive Sensitivity of LZ77 Under Consecutive Edits",
  "authors": [
    "Jeremiah Blocki",
    "Seunghoon Lee"
  ],
  "affiliations": null,
  "abstract": "We revisit the problem of mitigating information leakage in the widely used but insecure compress-then-encrypt paradigm. While encryption hides message contents, the ciphertext length is directly related to the length of the compressed message, which may, in turn, leak information about the {\\em content} of the message itself. Recent work of Blocki et al. (TCC~2025) proposed an $(\\varepsilon,\\delta)$-differentially private approach that adds randomized padding calibrated to the global sensitivity of the compression algorithm, and showed that LZ77 has global sensitivity $O(W^{2/3}\\log n)$ for input length $n$ and sliding window size $W$. \n\nHowever, prior analysis focused only on sensitivity with respect to single-character edits, which leads to limited privacy guarantees when protecting longer substrings such as passwords, passphrases, cookies, or confidential user records.  A natural attempt to handle longer secrets is to appeal to group privacy, but for approximate differential privacy, this leads to very poor parameter degradation: in particular, the effective value of $\\delta$ can grow exponentially with the group size $g$.  In this work, we introduce and study the sensitivity of compression schemes under block edits. Specifically, we define two strings to be $g$-neighbors if they differ only within a contiguous interval of length $g$. \n\nOur main technical contribution is a nearly tight characterization of the $g$-consecutive sensitivity of LZ77. We show that the $g$-consecutive sensitivity of LZ77, both with and without self-referencing, is at most $O\\!\\left((W^{2/3}+g+\\sqrt{Wg})\\log n\\right)$. In particular, when $g \\leq W^{1/3}$, the bound simplifies to $O(W^{2/3}\\log n)$, matching the known bound for single-character edits. Combined with the framework of Blocki et al., our bound yields $(\\varepsilon,\\delta)$-differential privacy for $g$-neighbors with the same asymptotic padding scale as for single-character edits. We provide matching lower bounds to demonstrate that our upper bound is tight, e.g., when $n=W=\\Theta(g^2)$, the $g$-consecutive sensitivity of LZ77 is at least $\\tilde{\\Omega}(g^{3/2})$, matching the $\\sqrt{Wg}=\\Theta(g^{3/2})$ term from our upper bound up to a logarithmic factor.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On the Additive Sensitivity of LZ77 Under Consecutive Edits” by Jeremiah Blocki, Seunghoon Lee, Cryptology ePrint Archive, Paper 2026/1238, https://eprint.iacr.org/2026/1238. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-06-10T21:00:10Z",
    "updated": "2026-09-16T06:00:42Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/1238.pdf",
    "sha256": "edd0e14938be74948c4f64f9c5a0c69301a2510c7825a83969e4128bfbf2b514",
    "size": 476784,
    "source": "wayback",
    "source_date": "2026-09-19T19:24:44Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/1238/versions/20260919T192444Z.pdf",
      "captured_at": "2026-09-19T19:24:44Z",
      "label": "copy captured 2026-09-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260919192444id_/https://eprint.iacr.org/2026/1238.pdf",
      "size": 476784,
      "sha256": "edd0e14938be74948c4f64f9c5a0c69301a2510c7825a83969e4128bfbf2b514",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260919192444id_/https://eprint.iacr.org/2026/1238.pdf",
      "captured_at": "2026-09-19T19:24:44Z",
      "size": 475110
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/1238,\n      author = {Jeremiah Blocki and Seunghoon Lee},\n      title = {On the Additive Sensitivity of LZ77 Under Consecutive Edits},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1238},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/1238}\n}"
}
