{
  "id": "2026/1835",
  "url": "https://opencryptology.org/2026/1835",
  "original_url": "https://eprint.iacr.org/2026/1835",
  "title": "Wagner's $k$-Tree Revisited: Memory-Time Costs of Preimage Attacks on Incremental Hashes",
  "authors": [
    "Rui Ding",
    "Lili Tang",
    "Shaomin Chen",
    "Xiaorui Gong"
  ],
  "affiliations": null,
  "abstract": "Wagner's $k$-tree algorithm solves the generalized birthday problem and underlies preimage attacks on randomize-then-combine incremental hashes (EUROCRYPT '97) such as iSHAKE, LtHash, and AdHash. In its full-index execution, the $2^{k-1}$ index entries dominate peak memory at large $k$, and index trimming narrows each entry but leaves their number intact. Tang et al. (TCHES '26) introduced post-retrieval for the single-chain algorithm and left the $2^k$ exponent of the $k$-tree setting as an open problem. We resolve it by extending post-retrieval to the $k$-tree algorithm. This cuts the peak working memory to $P_k\\ell N = O(k^2 \\ell N)$, removing the $2^{k-1}$ index entries from the forward pass at the cost of a $\\Theta(k)$ time overhead. Free $\\delta$-level caching shrinks this time factor at no memory cost. The trade-off is starkly asymmetric: it removes an exponential number of index entries for only a linear recovery-time overhead.\n\nAs a practical application, we revisit the list-item-reduction landscape for the $k$-tree algorithm under the memory-time product metric, $\\mathsf{MT} = M \\cdot T$. The gain is regime-dependent: for small $k$ the index entries do not yet dominate, so the recovery overhead outweighs the saving. For large $k$ the saving dominates, lowering the optimized $\\log_2 \\mathsf{MT}$ from $4\\sqrt{n}$ to $2\\sqrt{2n}$ at leading order. For fixed-size iSHAKE preimage attacks, we save approximately $51$ and $122$ bits over state-of-the-art index trimming for iSHAKE-128 and iSHAKE-256, respectively, in the unlimited-block setting, narrowing to roughly $6$ and $8$ bits under block-count caps.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Wagner's $k$-Tree Revisited: Memory-Time Costs of Preimage Attacks on Incremental Hashes” by Rui Ding, Lili Tang, Shaomin Chen, Xiaorui Gong, Cryptology ePrint Archive, Paper 2026/1835, https://eprint.iacr.org/2026/1835. 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-08-30T07:55:48Z",
    "updated": "2026-08-30T07:55:48Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/1835.pdf",
    "sha256": "2cd0e4b41b36080d6596101bb7b62d818cd3059dd064777ec25af86cfec8fd30",
    "size": 783199,
    "source": "upload",
    "source_date": "2026-11-12T20:21:33.722Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/1835/versions/20261112T202133Z.pdf",
      "captured_at": "2026-11-12T20:21:33.722Z",
      "label": "copy captured 2026-11-12",
      "source": "upload",
      "source_url": null,
      "size": 783199,
      "sha256": "2cd0e4b41b36080d6596101bb7b62d818cd3059dd064777ec25af86cfec8fd30",
      "is_default_pdf": true
    }
  ],
  "other_sources": [],
  "bibtex": "@misc{cryptoeprint:2026/1835,\n      author = {Rui Ding and Lili Tang and Shaomin Chen and Xiaorui Gong},\n      title = {Wagner's $k$-Tree Revisited: Memory-Time Costs of Preimage Attacks on Incremental Hashes},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1835},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/1835}\n}"
}
