{
  "id": "2022/1009",
  "url": "https://opencryptology.org/2022/1009",
  "original_url": "https://eprint.iacr.org/2022/1009",
  "title": "Time-Space Tradeoffs for Sponge Hashing: Attacks and Limitations for Short Collisions",
  "authors": [
    "Cody Freitag",
    "Ashrujit Ghoshal",
    "Ilan Komargodski"
  ],
  "affiliations": null,
  "abstract": "Sponge hashing is a novel alternative to the popular Merkle-Damgård hashing design. The sponge construction has become increasingly popular in various applications, perhaps most notably, it underlies the SHA-3 hashing standard. Sponge hashing is parametrized by two numbers, $r$ and $c$ (bitrate and capacity, respectively), and by a fixed-size permutation on $r+c$ bits. In this work, we study the collision resistance of sponge hashing instantiated with a random permutation by adversaries with arbitrary $S$-bit auxiliary advice input about the random permutation that make $T$ online queries. Recent work by Coretti et al. (CRYPTO '18) showed that such adversaries can find collisions (with respect to a random $c$-bit initialization vector) with advantage $\\Theta(ST^2/2^c + T^2/ 2^{r})$.\n\nAlthough the above attack formally breaks collision resistance in some range of parameters, its practical relevance is limited since the resulting collision is very long (on the order of $T$ blocks). Focusing on the task of finding short collisions, we study the complexity of finding a $B$-block collision for a given parameter $B\\ge 1$. We give several new attacks and limitations. Most notably, we give a new attack that results in a single-block collision and has advantage\n$$\n\\Omega \\left(\\left(\\frac{S^{2}T}{2^{2c}}\\right)^{2/3} + \\frac{T^2}{2^r}\\right).\n$$\nIn certain range of parameters (e.g., $ST^2>2^c$), our attack outperforms the previously-known best attack. To the best of our knowledge, this is the first natural application for which sponge hashing is provably less secure than the corresponding instance of Merkle-Damgård hashing. Our attack relies on a novel connection between single-block collision finding in sponge hashing and the well-studied function inversion problem. We also give a general attack that works for any $B\\ge 2$ and has advantage $\\Omega({STB}/{2^{c}} + {T^2}/{2^{\\min\\{r,c\\}}})$, adapting an idea of Akshima et al. (CRYPTO '20).\n \nWe complement the above attacks with bounds on the best possible attacks. Specifically, we prove that there is a qualitative jump in the advantage of best possible attacks for finding unbounded-length collisions and those for finding very short collisions. Most notably, we prove (via a highly non-trivial compression argument) that the above attack is optimal for $B=2$ in some range of parameters.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Time-Space Tradeoffs for Sponge Hashing: Attacks and Limitations for Short Collisions” by Cody Freitag, Ashrujit Ghoshal, Ilan Komargodski, Cryptology ePrint Archive, Paper 2022/1009, https://eprint.iacr.org/2022/1009. 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-08-05T06:46:40Z",
    "updated": "2023-03-09T21:22:24Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1009.pdf",
    "sha256": "60f8e049517f2d130fc9a67cda4168a0b5dad191521a2d1bdcc10709bbed2c16",
    "size": 1015050,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1009/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/1009.pdf",
      "size": 1015050,
      "sha256": "60f8e049517f2d130fc9a67cda4168a0b5dad191521a2d1bdcc10709bbed2c16",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/1009/versions/20221019T181202Z.pdf",
      "captured_at": "2022-10-19T18:12:02Z",
      "label": "copy captured 2022-10-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20221019181202id_/https://eprint.iacr.org/2022/1009.pdf",
      "size": 1014530,
      "sha256": "3c016b2f1b221bf2d403357ddf00dd796d6e928aa3c9e3578e0eb06e146b08f8",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260107102134id_/https://eprint.iacr.org/2022/1009.pdf",
      "captured_at": "2026-01-07T10:21:34Z",
      "size": 923790
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1009.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 1015050
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1009,\n      author = {Cody Freitag and Ashrujit Ghoshal and Ilan Komargodski},\n      title = {Time-Space Tradeoffs for Sponge Hashing: Attacks and Limitations for Short Collisions},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1009},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1009}\n}"
}
