{
  "id": "2005/281",
  "url": "https://opencryptology.org/2005/281",
  "original_url": "https://eprint.iacr.org/2005/281",
  "title": "Herding Hash Functions and the Nostradamus Attack",
  "authors": [
    "John Kelsey",
    "Tadayoshi Kohno"
  ],
  "affiliations": null,
  "abstract": "In this paper, we develop a new attack on Damgård-Merkle\nhash functions, called the \\emph{herding attack}, in which\nan attacker who can find many collisions on the hash\nfunction by brute force can first provide the hash of a\nmessage, and later ``herd'' any given starting part of a\nmessage to that hash value by the choice of an appropriate\nsuffix.  We introduce a new property which hash functions\nshould have--Chosen Target Forced Prefix (CTFP) preimage\nresistance--and show the distinction between Damgård-Merkle\nconstruction hashes and random oracles with respect to this\nproperty.  We describe a number of ways that violation of\nthis property can be used in arguably practical attacks on\nreal-world applications of hash functions.  An important\nlesson from these results is that hash functions susceptible\nto collision-finding attacks, especially brute-force\ncollision-finding attacks, cannot in general be used to prove knowledge\nof a secret value",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Herding Hash Functions and the Nostradamus Attack” by John Kelsey, Tadayoshi Kohno, Cryptology ePrint Archive, Paper 2005/281, https://eprint.iacr.org/2005/281. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2005-08-25T07:40:21Z",
    "updated": "2006-02-18T18:57:44Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2005/281.pdf",
    "sha256": "10cba27b9a6cc62dfb55000a64432d9bf39635255dcf81dd9289d15c8cd73d9d",
    "size": 311373,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:06:57Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2005/281/versions/20190225T160657Z.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2005/281.pdf",
      "size": 311373,
      "sha256": "10cba27b9a6cc62dfb55000a64432d9bf39635255dcf81dd9289d15c8cd73d9d",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250904171943id_/https://eprint.iacr.org/2005/281.pdf",
      "captured_at": "2025-09-04T17:19:43Z",
      "size": 308572
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2005/281.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "size": 311373
    }
  ],
  "bibtex": "@misc{cryptoeprint:2005/281,\n      author = {John Kelsey and Tadayoshi Kohno},\n      title = {Herding Hash Functions and the Nostradamus Attack},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2005/281},\n      year = {2005},\n      url = {https://eprint.iacr.org/2005/281}\n}"
}
