{
  "id": "2025/963",
  "url": "https://opencryptology.org/2025/963",
  "original_url": "https://eprint.iacr.org/2025/963",
  "title": "Permutation-Based Hashing With Stronger (Second) Preimage Resistance",
  "authors": [
    "Siwei Sun",
    "Shun Li",
    "Zhiyu Zhang",
    "Charlotte Lefevre",
    "Bart Mennink",
    "Zhen Qin",
    "Dengguo Feng"
  ],
  "affiliations": null,
  "abstract": "The sponge is a popular construction of hash function design. It operates with a $b$-bit permutation on a $b$-bit state, that is split into a $c$-bit inner part and an $r$-bit outer part. However, the security bounds of the sponge are most often dominated by the capacity $c$: if the length of the digest is $n$ bits, the construction tightly achieves $\\min\\{n/2,c/2\\}$-bit collision resistance, $\\min\\{n,c/2\\}$-bit second preimage resistance, and $\\min\\{n,\\max\\{n-r,c/2\\}\\}$-bit preimage resistance. Here, it is noteworthy that the generic attacks matching the preimage and second preimage bounds make use of the inverse of the permutation.\n\nWe demonstrate that, by a relatively simple adjustment, significantly improved preimage and second preimage resistance can be achieved. In detail, we first present the SPONGE-DM construction, that differs from the sponge by evaluating the permutation during absorption in a Davies-Meyer mode. This construction generically achieves $\\min\\{n/2,c/2\\}$-bit collision resistance as the sponge does, but $n$-bit preimage resistance and $\\min\\{n,c-\\log_2(\\alpha)\\}$-bit second preimage resistance, where $\\alpha$ is the maximum size of the first preimage in blocks. Next, we investigate how improved security can be achieved with a smaller feed-forward, and we present the SPONGE-EDM$^a$ family of functions, indexed by a parameter $a\\in\\{0,\\ldots,b\\}$. These functions replace the permutation during absorption in the sponge by an Encrypted Davies-Meyer mode, but with only $a$ bits of feed-forward. For $a=b$, comparable bounds as for SPONGE-DM are obtained, and these bounds gradually decrease to the original sponge bounds for decreasing values of $a$.\n\nWe present various instantiations of SPONGE-DM and SPONGE-EDM$^a$ using the Keccak and Ascon permutations, and concretely demonstrate the immediate security and performance gains of these instances. For example, one can achieve up to $512$-bit preimage and second preimage resistance using the $800$-bit Keccak permutation (rather than 1600-bit in SHA-3), and likewise, one can use the $1600$-bit Keccak permutation to easily achieve up to $1024$-bit preimage and second preimage resistance (therewith properly fitting within the recently announced Chinese call for a new generation of cryptographic algorithms). Finally, we show the benefits of using these instantiations in the context of hash-based signature schemes whose security relies solely on the (second) preimage resistance of the underlying hash functions (such as Ascon-Sign).",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Permutation-Based Hashing With Stronger (Second) Preimage Resistance” by Siwei Sun, Shun Li, Zhiyu Zhang, Charlotte Lefevre, Bart Mennink, Zhen Qin, Dengguo Feng, Cryptology ePrint Archive, Paper 2025/963, https://eprint.iacr.org/2025/963. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-05-26T22:07:06Z",
    "updated": "2026-06-04T01:35:04Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/963.pdf",
    "sha256": "5f1c61f6a4fd4adfb4e26ac098f7e0370b65751d77717c0047b66c4d5300e74b",
    "size": 905694,
    "source": "upload",
    "source_date": "2026-11-14T03:53:44.568Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/963/versions/20261114T035344Z.pdf",
      "captured_at": "2026-11-14T03:53:44.568Z",
      "label": "copy captured 2026-11-14",
      "source": "upload",
      "source_url": null,
      "size": 905694,
      "sha256": "5f1c61f6a4fd4adfb4e26ac098f7e0370b65751d77717c0047b66c4d5300e74b",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/963/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/963.pdf",
      "size": 1154550,
      "sha256": "fb8fec3c6b4a7489ea017b3a1b32dab554d9c2a0ccdf8c0bf5c94ce80f104e11",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2025/963/versions/20250527T193021Z.pdf",
      "captured_at": "2025-05-27T19:30:21Z",
      "label": "copy captured 2025-05-27",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250527193021id_/https://eprint.iacr.org/2025/963.pdf",
      "size": 878442,
      "sha256": "74d9f9cc4d11bb9199c220c6fd53930bafb00fb1bc7ce87e4391db2882fbfde5",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260527084526id_/https://eprint.iacr.org/2025/963.pdf",
      "captured_at": "2026-05-27T08:45:26Z",
      "size": 1151949
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/963.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 1154550
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/963,\n      author = {Siwei Sun and Shun Li and Zhiyu Zhang and Charlotte Lefevre and Bart Mennink and Zhen Qin and Dengguo Feng},\n      title = {Permutation-Based Hashing With Stronger (Second) Preimage Resistance},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/963},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/963}\n}"
}
