{
  "id": "2016/1001",
  "url": "https://opencryptology.org/2016/1001",
  "original_url": "https://eprint.iacr.org/2016/1001",
  "title": "Revisiting RC4 Key Collision: Faster Search Algorithm and New 22-byte Colliding Key Pairs",
  "authors": [
    "Amit Jana",
    "Goutam Paul"
  ],
  "affiliations": null,
  "abstract": "If two different secret keys of a stream cipher yield the same internal state after the key scheduling algorithm (KSA) and hence generates the same sequence of keystream bits, they are called a colliding key pair. The number of possible internal states of RC4 stream cipher is very large (approximately $2^{1700}$), which makes finding key collision hard for practical key length (i.e., less than 30 bytes). Matsui [FSE 2009] for the first time reported a 24-byte colliding key pair and one 20-byte near-colliding key pair (i.e., for which the state arrays after the KSA differ in at most two positions) for RC4. Subsequently, Chen and Miyaji [ISC 2011] claimed to design a more efficient search algorithm using Matsui's collision pattern and reported a 22-byte colliding key pair which remains the only shortest known colliding key pair so far. In this paper, we show some limitations of both the above approaches and propose a faster collision search algorithm that overcomes these limitations. Using our algorithm, we are able to find three additional 22-byte colliding key pairs that are different from the one reported by Chen and Miyaji [ISC 2011]. We additionally give 12 new 20-byte near-colliding key pairs different from Matsui's [FSE 2009]. These results are significant, considering the argument by the experts [Biham and Dunkelman, 2007] that for shorter keys there might be no instances of collision at all.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Revisiting RC4 Key Collision: Faster Search Algorithm and New 22-byte Colliding Key Pairs” by Amit Jana, Goutam Paul, Cryptology ePrint Archive, Paper 2016/1001, https://eprint.iacr.org/2016/1001. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2016-10-20T18:17:05Z",
    "updated": "2017-08-18T10:35:05Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2016/1001.pdf",
    "sha256": "dbd470d49f24c99f260480b5b43065d045990eae6c83c8c7d505cf7c19aee5d5",
    "size": 451358,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:24:56Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2016/1001/versions/20190225T172456Z.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/1001.pdf",
      "size": 451358,
      "sha256": "dbd470d49f24c99f260480b5b43065d045990eae6c83c8c7d505cf7c19aee5d5",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2016/1001/versions/20170710T190755Z.pdf",
      "captured_at": "2017-07-10T19:07:55Z",
      "label": "copy captured 2017-07-10",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20170710190755id_/http://eprint.iacr.org/2016/1001.pdf",
      "size": 365343,
      "sha256": "2b21555681b8b711cbb348b5562d7627af30d4b6d646d5a625b96ea3c8f407b7",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250423140100id_/https://eprint.iacr.org/2016/1001.pdf",
      "captured_at": "2025-04-23T14:01:00Z",
      "size": 448134
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/1001.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "size": 451358
    }
  ],
  "bibtex": "@misc{cryptoeprint:2016/1001,\n      author = {Amit Jana and Goutam Paul},\n      title = {Revisiting RC4 Key Collision: Faster Search Algorithm and New 22-byte Colliding Key Pairs},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2016/1001},\n      year = {2016},\n      url = {https://eprint.iacr.org/2016/1001}\n}"
}
