{
  "id": "2012/294",
  "url": "https://opencryptology.org/2012/294",
  "original_url": "https://eprint.iacr.org/2012/294",
  "title": "Two grumpy giants and a baby",
  "authors": [
    "Daniel J. Bernstein",
    "Tanja Lange"
  ],
  "affiliations": null,
  "abstract": "Pollard's rho algorithm, along with parallelized, vectorized, and negating variants, is the standard method to compute discrete logarithms in generic prime-order groups.\nThis paper presents two reasons that Pollard's rho algorithm\nis farther from optimality than generally believed.\nFirst, ``higher-degree local anti-collisions''\nmake the rho walk less random than the predictions made by the conventional Brent--Pollard heuristic.\nSecond, even a truly random walk is suboptimal,\nbecause it suffers from ``global anti-collisions'' that can at least partially be avoided.\nFor example, after (1.5+o(1))\\sqrt(l) additions in a group of order l (without fast negation),\nthe baby-step-giant-step method has probability 0.5625+o(1)\nof finding a uniform random discrete logarithm;\na truly random walk would have probability 0.6753\\ldots+o(1);\nand this paper's new two-grumpy-giants-and-a-baby method has probability 0.71875+o(1).",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Two grumpy giants and a baby” by Daniel J. Bernstein, Tanja Lange, Cryptology ePrint Archive, Paper 2012/294, https://eprint.iacr.org/2012/294. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2012-06-03T19:27:00Z",
    "updated": "2012-07-10T18:33:29Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2012/294.pdf",
    "sha256": "be518a66f278c83ac77db936206a8842c7e9bdd61e3d01863e87d6c62d8def39",
    "size": 437891,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:37:15Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2012/294/versions/20190225T163715Z.pdf",
      "captured_at": "2019-02-25T16:37:15Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2012/294.pdf",
      "size": 437891,
      "sha256": "be518a66f278c83ac77db936206a8842c7e9bdd61e3d01863e87d6c62d8def39",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260309213945id_/https://eprint.iacr.org/2012/294.pdf",
      "captured_at": "2026-03-09T21:39:45Z",
      "size": 409503
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2012/294.pdf",
      "captured_at": "2019-02-25T16:37:15Z",
      "size": 437891
    }
  ],
  "bibtex": "@misc{cryptoeprint:2012/294,\n      author = {Daniel J. Bernstein and Tanja Lange},\n      title = {Two grumpy giants and a baby},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2012/294},\n      year = {2012},\n      url = {https://eprint.iacr.org/2012/294}\n}"
}
