{
  "id": "2022/1213",
  "url": "https://opencryptology.org/2022/1213",
  "original_url": "https://eprint.iacr.org/2022/1213",
  "title": "Nostradamus goes Quantum",
  "authors": [
    "Barbara Jiabao Benedikt",
    "Marc Fischlin",
    "Moritz Huppert"
  ],
  "affiliations": null,
  "abstract": "In the Nostradamus attack, introduced by Kelsey and Kohno (Eurocrypt 2006),  the adversary has to commit to a hash value y of an iterated hash function H such that, when later given a message prefix P, the adversary is able to find a suitable \"suffix explanation\" S with H(P||S)=y. Kelsey and Kohno show a herding attack with $2^{2n/3}$ evaluations of the compression function of H (with n bits output and state), locating the attack between preimage attacks and collision search in terms of complexity. Here we investigate the security of Nostradamus attacks for quantum adversaries. We present a quantum herding algorithm for the Nostradamus problem making approximately $\\sqrt[3]{n}\\cdot 2^{3n/7}$ compression function evaluations, significantly improving over the classical bound. We also prove that quantum herding attacks cannot do better than $2^{3n/7}$ evaluations for random compression functions, showing that our algorithm is (essentially) optimal. We also discuss a slightly less tight bound of roughly $2^{3n/7-s}$ for general Nostradamus attacks against random compression functions, where s is the maximal block length of the adversarially chosen suffix S.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Nostradamus goes Quantum” by Barbara Jiabao Benedikt, Marc Fischlin, Moritz Huppert, Cryptology ePrint Archive, Paper 2022/1213, https://eprint.iacr.org/2022/1213. 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-09-13T13:15:14Z",
    "updated": "2022-09-13T13:15:14Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1213.pdf",
    "sha256": "fe67ee594806888b54dfd867b04e969ada883784873ed1825a08a6b97132aebd",
    "size": 656842,
    "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/1213/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/1213.pdf",
      "size": 656842,
      "sha256": "fe67ee594806888b54dfd867b04e969ada883784873ed1825a08a6b97132aebd",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251231143331id_/https://eprint.iacr.org/2022/1213.pdf",
      "captured_at": "2025-12-31T14:33:31Z",
      "size": 657782
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1213.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 656842
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1213,\n      author = {Barbara Jiabao Benedikt and Marc Fischlin and Moritz Huppert},\n      title = {Nostradamus goes Quantum},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1213},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1213}\n}"
}
