{
  "id": "2022/309",
  "url": "https://opencryptology.org/2022/309",
  "original_url": "https://eprint.iacr.org/2022/309",
  "title": "On Time-Space Tradeoffs for Bounded-Length Collisions in Merkle-Damgård Hashing",
  "authors": [
    "Ashrujit Ghoshal",
    "Ilan Komargodski"
  ],
  "affiliations": null,
  "abstract": "We study the power of preprocessing adversaries in finding bounded-length collisions in the widely used Merkle-Damgård (MD) hashing in the random oracle model. Specifically, we consider adversaries with arbitrary $S$-bit advice about the random oracle and can make at most $T$ queries to it. Our goal is to characterize the advantage of such adversaries in finding a $B$-block collision in an MD hash function constructed using the random oracle with range size $N$ as the compression function (given a random salt).\n\nThe answer to this question is completely understood for very large values of $B$ (essentially $\\Omega(T)$) as well as for $B=1,2$. For $B\\approx T$, Coretti et al.~(EUROCRYPT '18) gave matching upper and lower bounds of $\\tilde\\Theta(ST^2/N)$. Akshima et al.~(CRYPTO '20) observed that the attack of Coretti et al.\\ could be adapted to work for any value of $B>1$, giving an attack with advantage $\\tilde\\Omega(STB/N + T^2/N)$. Unfortunately, they could only prove that this attack is optimal for $B=2$. Their proof involves a compression argument with exhaustive case analysis and, as they claim, a naive attempt to generalize their bound to larger values of B (even for $B=3$) would lead to an explosion in the number of cases needed to be analyzed, making it unmanageable.  With the lack of a more general upper bound, they formulated the STB conjecture, stating that the best-possible advantage is $\\tilde O(STB/N + T^2/N)$ for any $B>1$.\n\n\nIn this work, we confirm the STB conjecture in many new parameter settings. For instance, in one result, we show that the conjecture holds for all constant values of $B$, significantly extending the result of Akshima et al. Further, using combinatorial properties of graphs, we are able to confirm the conjecture even for super constant values of $B$, as long as some restriction is made on $S$. For instance, we confirm the conjecture for all $B \\le T^{1/4}$ as long as $S \\le T^{1/8}$. Technically, we develop structural characterizations for bounded-length collisions in MD hashing that allow us to give a compression argument in which the number of cases needed to be handled does not explode.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On Time-Space Tradeoffs for Bounded-Length Collisions in Merkle-Damgård Hashing” by Ashrujit Ghoshal, Ilan Komargodski, Cryptology ePrint Archive, Paper 2022/309, https://eprint.iacr.org/2022/309. 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-03-07T12:49:56Z",
    "updated": "2022-06-20T19:39:05Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/309.pdf",
    "sha256": "3d53cd3b64eceda2ce2099704b8575f7f878dca8825a1ed76dfdaa14c3b8c21b",
    "size": 764543,
    "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/309/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/309.pdf",
      "size": 764543,
      "sha256": "3d53cd3b64eceda2ce2099704b8575f7f878dca8825a1ed76dfdaa14c3b8c21b",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/309/versions/20220307T181013Z.pdf",
      "captured_at": "2022-03-07T18:10:13Z",
      "label": "copy captured 2022-03-07",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220307181013id_/https://eprint.iacr.org/2022/309.pdf",
      "size": 739374,
      "sha256": "a8cea2d62c514f962e972c99f8d9bff5ab341ffc821d74381d0fd5d1dd06dd9d",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260108114309id_/https://eprint.iacr.org/2022/309.pdf",
      "captured_at": "2026-01-08T11:43:09Z",
      "size": 635072
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/309.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 764543
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/309,\n      author = {Ashrujit Ghoshal and Ilan Komargodski},\n      title = {On Time-Space Tradeoffs for Bounded-Length Collisions in Merkle-Damgård Hashing},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/309},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/309}\n}"
}
