{
  "id": "2010/030",
  "url": "https://opencryptology.org/2010/030",
  "original_url": "https://eprint.iacr.org/2010/030",
  "title": "On the Complexity of the Herding Attack and Some Related Attacks on Hash Functions",
  "authors": [
    "Simon R. Blackburn",
    "Douglas R. Stinson",
    "Jalaj Upadhyay"
  ],
  "affiliations": null,
  "abstract": "In this paper, we analyze the complexity of the construction of the $2^k$-diamond structure\nproposed by Kelsey and Kohno.\nWe point out a flaw  in their analysis\nand show that their construction may not produce the desired diamond structure.\nWe then give a more rigorous and detailed complexity analysis of the construction of a diamond structure.\nFor this, we appeal to random graph theory (in particular, to the theory of random intersection graphs), which allows us to determine sharp necessary and sufficient conditions for the {\\it message complexity} (i.e., the number of hash computations required to  build the required structure). We also analyze the {\\it computational complexity} for constructing a diamond structure, which has not been previously studied in the literature.\nFinally, we study the impact of our analysis on herding and other attacks that use  the diamond structure as a subroutine.\nPrecisely, our results shows the following:\n\\begin{enumerate}\n\\item The message complexity for the construction of a diamond structure  is $\\sqrt{k}$ times more than the amount previously stated in literature.\n\\item The time complexity is $n$ times the message complexity, where $n$ is the size of hash value.\n\\end{enumerate}\nDue to the above two results, the herding attack~\\cite{KK06} and the second preimage attack~\\cite{ABFHKSZ08} on iterated hash functions have increased complexity. We also show that the message complexity of herding and second preimage attacks on ``hash twice'' is $n$ times the complexity claimed by~\\cite{ABDK09}, by giving a more detailed analysis of the attack.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On the Complexity of the Herding Attack and Some Related Attacks on Hash Functions” by Simon R. Blackburn, Douglas R. Stinson, Jalaj Upadhyay, Cryptology ePrint Archive, Paper 2010/030, https://eprint.iacr.org/2010/030. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2010-01-22T03:57:54Z",
    "updated": "2010-09-01T18:00:48Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2010/030.pdf",
    "sha256": "7c2ac1ef0aac7cb4c4f08c631281be4de1ffa144234260abc1df956687238ebc",
    "size": 280835,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:24:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2010/030/versions/20190225T162428Z.pdf",
      "captured_at": "2019-02-25T16:24:28Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2010/030.pdf",
      "size": 280835,
      "sha256": "7c2ac1ef0aac7cb4c4f08c631281be4de1ffa144234260abc1df956687238ebc",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2010/030/versions/20100702T190838Z.pdf",
      "captured_at": "2010-07-02T19:08:38Z",
      "label": "copy captured 2010-07-02",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20100702190838id_/http://eprint.iacr.org/2010/030.pdf",
      "size": 265070,
      "sha256": "046a6ab97779b36a2484b3125bebd1f63331e2342f16dd5d336b1ff0fc5f6bd0",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260408223417id_/https://eprint.iacr.org/2010/030.pdf",
      "captured_at": "2026-04-08T22:34:17Z",
      "size": 228811
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2010/030.pdf",
      "captured_at": "2019-02-25T16:24:28Z",
      "size": 280835
    }
  ],
  "bibtex": "@misc{cryptoeprint:2010/030,\n      author = {Simon R. Blackburn and Douglas R. Stinson and Jalaj Upadhyay},\n      title = {On the Complexity of the Herding Attack and Some Related Attacks on Hash Functions},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2010/030},\n      year = {2010},\n      url = {https://eprint.iacr.org/2010/030}\n}"
}
