{
  "id": "2009/186",
  "url": "https://opencryptology.org/2009/186",
  "original_url": "https://eprint.iacr.org/2009/186",
  "title": "Statistics of Random Permutations and the Cryptanalysis of Periodic Block Ciphers",
  "authors": [
    "Nicolas T. Courtois",
    "Gregory V. Bard",
    "Shaun V. Ault"
  ],
  "affiliations": null,
  "abstract": "A block cipher is intended to be computationally indistinguishable from a random\npermutation of appropriate domain and range. But what are the properties of a\nrandom permutation? By the aid of exponential and ordinary generating functions,\nwe derive a series of collolaries of interest to the cryptographic community. These\nfollow from the Strong Cycle Structure Theorem of permutations, and are useful in\nrendering rigorous two attacks on Keeloq, a block cipher in wide-spread use.\nThese attacks formerly had heuristic approximations of their probability of success.\n\nMoreover, we delineate an attack against the (roughly) millionth-fold iteration of\na random permutation. In particular, we create a distinguishing attack, whereby\nthe iteration of a cipher a number of times equal to a particularly chosen\nhighly-composite number is breakable, but merely one fewer round is considerably\nmore secure. We then extend this to a key-recovery attack in a “Triple-DES”\nstyle construction, but using AES-256 and iterating the middle cipher (roughly) a\nmillion-fold. This attack is $2^{119.237}$ times faster than brute-force search.\n\nIt is hoped that these results will showcase the utility of exponential and ordinary\ngenerating functions and will encourage their use in cryptanalytic research.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Statistics of Random Permutations and the Cryptanalysis of Periodic Block Ciphers” by Nicolas T. Courtois, Gregory V. Bard, Shaun V. Ault, Cryptology ePrint Archive, Paper 2009/186, https://eprint.iacr.org/2009/186. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2009-05-02T12:59:14Z",
    "updated": "2009-05-02T12:59:14Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2009/186.pdf",
    "sha256": "aa29e157b5776d32f53fbade975e94fbfe43bf3778356fcfb8d56e3388cbf5f6",
    "size": 240688,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:20:12Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2009/186/versions/20190225T162012Z.pdf",
      "captured_at": "2019-02-25T16:20:12Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2009/186.pdf",
      "size": 240688,
      "sha256": "aa29e157b5776d32f53fbade975e94fbfe43bf3778356fcfb8d56e3388cbf5f6",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260408220634id_/https://eprint.iacr.org/2009/186.pdf",
      "captured_at": "2026-04-08T22:06:34Z",
      "size": 214629
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2009/186.pdf",
      "captured_at": "2019-02-25T16:20:12Z",
      "size": 240688
    }
  ],
  "bibtex": "@misc{cryptoeprint:2009/186,\n      author = {Nicolas T. Courtois and Gregory V. Bard and Shaun V. Ault},\n      title = {Statistics of Random Permutations and the Cryptanalysis of Periodic Block Ciphers},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2009/186},\n      year = {2009},\n      url = {https://eprint.iacr.org/2009/186}\n}"
}
