{
  "id": "2002/087",
  "url": "https://opencryptology.org/2002/087",
  "original_url": "https://eprint.iacr.org/2002/087",
  "title": "Higher Order Correlation Attacks, XL algorithm and Cryptanalysis of Toyocrypt",
  "authors": [
    "Nicolas T. Courtois"
  ],
  "affiliations": null,
  "abstract": "There is abundant literature on how to use linear approximations to break various stream ciphers. In this paper we show that it is possible to design an efficient attack based on higher degree approximations. We reduce the attack to solving an overdefined system of multivariate equations and use the XL algorithm from Eurocrypt 2000. The complexity of the XL algorithm is sometimes controversial, however in practice and for the cases relevant here (much more equations than variables), we show that the behaviour of XL is predictable with the utmost precision and 100% accuracy.\nOur new attack allows to break efficiently stream ciphers that are known to be immune to all the previously known attacks. It has also  surprisingly small and loose requirements on the keystream needed, giving powerful attack scenarios, leading even to (almost) ciphertext-only attacks.\nFor example, the new attack breaks the stream cipher Toyocrypt submitted to the Japanese government Cryptrec call for cryptographic primitives, and one of only two candidates accepted to the second phase of Cryptrec evaluation process. Toyocrypt is a 128-bit stream cipher and at the time of submission it was claimed to resist to all known attacks. Later, Mihaljevic and Imai showed that the effective key length in Toyocrypt is only 96 bits. Still Toyocrypt may be easily modified to avoid this attack and have full 128 bit key. Our best attack breaks both Toyocrypt and the modified versions taking exactly 2^92 CPU clocks for a 128-bit cipher. Moreover it works in much less restrictive conditions that the previous attack, for example knowing ONLY that the ciphertext is in English.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Higher Order Correlation Attacks, XL algorithm and Cryptanalysis of Toyocrypt” by Nicolas T. Courtois, Cryptology ePrint Archive, Paper 2002/087, https://eprint.iacr.org/2002/087. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2002-07-02T21:10:33Z",
    "updated": "2003-02-13T15:06:59Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2002/087.pdf",
    "sha256": "388c9386750c23aaefde93de741eca6b759e405b227046a0d255a0ba439c287c",
    "size": 216091,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:04:03Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2002/087/versions/20190225T160403Z.pdf",
      "captured_at": "2019-02-25T16:04:03Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2002/087.pdf",
      "size": 216091,
      "sha256": "388c9386750c23aaefde93de741eca6b759e405b227046a0d255a0ba439c287c",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260404151008id_/https://eprint.iacr.org/2002/087.pdf",
      "captured_at": "2026-04-04T15:10:08Z",
      "size": 193931
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2002/087.pdf",
      "captured_at": "2019-02-25T16:04:03Z",
      "size": 216091
    }
  ],
  "bibtex": "@misc{cryptoeprint:2002/087,\n      author = {Nicolas T. Courtois},\n      title = {Higher Order Correlation Attacks, XL algorithm and Cryptanalysis of Toyocrypt},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2002/087},\n      year = {2002},\n      url = {https://eprint.iacr.org/2002/087}\n}"
}
