{
  "id": "2023/772",
  "url": "https://opencryptology.org/2023/772",
  "original_url": "https://eprint.iacr.org/2023/772",
  "title": "Classical and Quantum Meet-in-the-Middle Nostradamus Attacks on AES-like Hashing",
  "authors": [
    "Zhiyu Zhang",
    "Siwei Sun",
    "Caibing Wang",
    "Lei Hu"
  ],
  "affiliations": null,
  "abstract": "At EUROCRYPT 2006, Kelsey and Kohno proposed the so-called chosen target forced-prefix (CTFP) preimage attack,  where for any challenge prefix $P$, the attacker can generate a suffix $S$ such that $H(P\\|S) = y$ for some hash value $y$ published in advance by the attacker. Consequently, the attacker can pretend to predict some event represented by $P$ she did not know before, and thus this type of attack is also known as the Nostradamus attack. At ASIACRYPT 2022, Benedikt et al. convert Kelsey et al.'s attack to a quantum one, reducing the time complexity from $\\mathcal{O}(\\sqrt{n}\\cdot 2^{2n/3})$ to $\\mathcal{O}(\\sqrt[3]{n} \\cdot 2^{3n/7})$. CTFP preimage attack is less investigated in the literature than (second-)preimage and collision attacks and lacks dedicated methods. In this paper, we propose the first dedicated Nostradamus attack based on the meet-in-the-middle (MITM) attack, and the MITM Nostradamus attack could be up to quadratically accelerated in the quantum setting. According to the recent works on MITM preimage attacks on AES-like hashing, we build an automatic tool to search for optimal MITM Nostradamus attacks and model the tradeoff between the offline and online phases. We apply our method to AES-MMO and Whirlpool, and obtain the first dedicated attack on round-reduced version of these hash functions. Our method and automatic tool are applicable to other AES-like hashings.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Classical and Quantum Meet-in-the-Middle Nostradamus Attacks on AES-like Hashing” by Zhiyu Zhang, Siwei Sun, Caibing Wang, Lei Hu, Cryptology ePrint Archive, Paper 2023/772, https://eprint.iacr.org/2023/772. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-05-27T02:25:15Z",
    "updated": "2023-05-27T02:25:15Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/772.pdf",
    "sha256": "24c773618cb2293fdbfc00ffd92cffeffb523e1c869d1e7479c988868c1ea60c",
    "size": 995995,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/772/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/772.pdf",
      "size": 995995,
      "sha256": "24c773618cb2293fdbfc00ffd92cffeffb523e1c869d1e7479c988868c1ea60c",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251230070558id_/https://eprint.iacr.org/2023/772.pdf",
      "captured_at": "2025-12-30T07:05:58Z",
      "size": 960262
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/772.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 995995
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/772,\n      author = {Zhiyu Zhang and Siwei Sun and Caibing Wang and Lei Hu},\n      title = {Classical and Quantum Meet-in-the-Middle Nostradamus Attacks on AES-like Hashing},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/772},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/772}\n}"
}
