{
  "id": "2007/305",
  "url": "https://opencryptology.org/2007/305",
  "original_url": "https://eprint.iacr.org/2007/305",
  "title": "On Non-Randomness of the Permutation after RC4 Key Scheduling",
  "authors": [
    "Goutam Paul",
    "Subhamoy Maitra",
    "Rohit Srivastava"
  ],
  "affiliations": null,
  "abstract": "Here we study a weakness of the RC4 Key Scheduling Algorithm (KSA) that has already been noted by Mantin and Mironov. Consider the RC4 permutation $S$ of $N$ (usually 256) bytes and denote it by $S_N$ after the KSA. Under reasonable assumptions we present a simple proof that each permutation byte after the KSA is significantly biased (either positive or negative) towards many values in the range $0, \\ldots, N-1$. These biases are independent of the secret key and thus present an evidence that the permutation after the KSA can be distinguished from random permutation without any assumption on the secret key. We also present a detailed empirical study over Mantin's work when the theoretical formulae vary significantly from experimental results\ndue to repetition of short keys in RC4. Further, it is explained how these results can be used to identify new distinguishers for RC4 keystream.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On Non-Randomness of the Permutation after RC4 Key Scheduling” by Goutam Paul, Subhamoy Maitra, Rohit Srivastava, Cryptology ePrint Archive, Paper 2007/305, https://eprint.iacr.org/2007/305. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2007-08-07T15:54:31Z",
    "updated": "2007-09-27T05:15:30Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2007/305.pdf",
    "sha256": "f7e72a616b38c2fc0ff64e3e046fe7862251b25a6d448e99373137e6b2cd1006",
    "size": 181221,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:13:43Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2007/305/versions/20190225T161343Z.pdf",
      "captured_at": "2019-02-25T16:13:43Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2007/305.pdf",
      "size": 181221,
      "sha256": "f7e72a616b38c2fc0ff64e3e046fe7862251b25a6d448e99373137e6b2cd1006",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260408211918id_/https://eprint.iacr.org/2007/305.pdf",
      "captured_at": "2026-04-08T21:19:18Z",
      "size": 161819
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2007/305.pdf",
      "captured_at": "2019-02-25T16:13:43Z",
      "size": 181221
    }
  ],
  "bibtex": "@misc{cryptoeprint:2007/305,\n      author = {Goutam Paul and Subhamoy Maitra and Rohit Srivastava},\n      title = {On Non-Randomness of the Permutation after RC4 Key Scheduling},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2007/305},\n      year = {2007},\n      url = {https://eprint.iacr.org/2007/305}\n}"
}
