{
  "id": "2023/797",
  "url": "https://opencryptology.org/2023/797",
  "original_url": "https://eprint.iacr.org/2023/797",
  "title": "Super-Quadratic Quantum Speed-Ups and Guessing Many Likely Keys",
  "authors": [
    "Timo Glaser",
    "Alexander May",
    "Julian Nowakowski"
  ],
  "affiliations": null,
  "abstract": "We study the fundamental problem of guessing cryptographic keys, drawn from some non-uniform probability distribution $\\mathcal D$, as e.g. in LPN, LWE or for passwords. The optimal classical algorithm enumerates keys in decreasing order of likelihood. The optimal quantum algorithm, due to Montanaro (2011), is a sophisticated Grover search.\n\n    We give the first tight analysis for Montanaro's algorithm, showing that its runtime is $2^{\\operatorname{H}_{2/3}(\\mathcal D)/2}$, where $\\operatorname{H}_{\\alpha}(\\cdot)$ denotes Rényi entropy with parameter $\\alpha$.\n    Interestingly, this is a direct consequence of an information theoretic result called Arikan's Inequality (1996) -- which has so far been missed in the cryptographic community -- that tightly bounds the runtime of classical key guessing by $2^{\\operatorname{H}_{1/2}(\\mathcal D)}$.\n    \n    Since $\\operatorname{H}_{2/3}(\\mathcal D) < \\operatorname{H}_{1/2}(\\mathcal D)$ for every non-uniform distribution $\\mathcal D$, we thus obtain a \\emph{super-quadratic} quantum speed-up $s>2$ over classical key guessing.\n     To give some numerical examples, for the binomial distribution used in Kyber, and for a typical password distribution, we obtain quantum speed-up $s>2.04$. For the $n$-fold Bernoulli distribution with parameter $p=0.1$ as in LPN, we obtain $s > 2.27$.  For small error LPN with $p=\\Theta(n^{-1/2})$ as in Alekhnovich encryption, we even achieve \\emph{unbounded} quantum speedup $s = \\Omega(n^{1/12})$.\n\n     As another main result, we provide the first thorough analysis of guessing in a multi-key setting.\n     Specifically, we consider the task of attacking many keys sampled independently from some distribution $\\mathcal D$, and aim to guess a fraction of them.\n     For product distributions $\\mathcal D = \\chi^n$, we show that any constant fraction of keys can be guessed within $2^{\\operatorname{H}(\\mathcal D)}$ classically and $2 ^{\\operatorname{H}(\\mathcal D)/2}$ quantumly per key, where $\\operatorname{H}(\\chi)$ denotes Shannon entropy.\n     In contrast, Arikan's Inequality implies that guessing a single key costs $2^{\\operatorname{H}_{1/2}(\\mathcal D)}$ classically and $2^{\\operatorname{H}_{2/3}(\\mathcal D)/2}$ quantumly.\n     Since $\\operatorname{H}(\\mathcal D) < \\operatorname{H}_{2/3}(\\mathcal D) < \\operatorname{H}_{1/2}(\\mathcal D)$, this shows that in a multi-key setting the guessing cost per key is substantially smaller than in a single-key setting, both classically and quantumly.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Super-Quadratic Quantum Speed-Ups and Guessing Many Likely Keys” by Timo Glaser, Alexander May, Julian Nowakowski, Cryptology ePrint Archive, Paper 2023/797, https://eprint.iacr.org/2023/797. 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-31T12:40:17Z",
    "updated": "2025-05-28T12:13:14Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/797.pdf",
    "sha256": "274015b00d0bb311fbfbe02cd78766d583f006a7f68e7ea4bb438ded0b945e85",
    "size": 680837,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/797/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/2023/797.pdf",
      "size": 680837,
      "sha256": "274015b00d0bb311fbfbe02cd78766d583f006a7f68e7ea4bb438ded0b945e85",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/797/versions/20240317T083457Z.pdf",
      "captured_at": "2024-03-17T08:34:57Z",
      "label": "copy captured 2024-03-17",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240317083457id_/https://eprint.iacr.org/2023/797.pdf",
      "size": 635901,
      "sha256": "27c1be899e382628d34ccd7d3a79c7dcd8ea13c2d8511aef69c32d87af37af4b",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2023/797/versions/20230606T083439Z.pdf",
      "captured_at": "2023-06-06T08:34:39Z",
      "label": "copy captured 2023-06-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230606083439id_/https://eprint.iacr.org/2023/797.pdf",
      "size": 675924,
      "sha256": "7acb2868e4724f461a4c85b9f5e7445ee859758940d426368454eb25af5a4e75",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/797.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 680837
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260420170739id_/https://eprint.iacr.org/2023/797.pdf",
      "captured_at": "2026-04-20T17:07:39Z",
      "size": 675110
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/797,\n      author = {Timo Glaser and Alexander May and Julian Nowakowski},\n      title = {Super-Quadratic Quantum Speed-Ups and Guessing Many Likely Keys},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/797},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/797}\n}"
}
