{
  "id": "2005/448",
  "url": "https://opencryptology.org/2005/448",
  "original_url": "https://eprint.iacr.org/2005/448",
  "title": "On the (In)security of Stream Ciphers Based on Arrays and Modular Addition (Full Version)",
  "authors": [
    "Souradyuti Paul",
    "Bart Preneel"
  ],
  "affiliations": null,
  "abstract": "Stream ciphers play an important role in symmetric cryptology because of\ntheir suitability in high speed applications where block ciphers fall short. A large number\nof fast stream ciphers or pseudorandom bit generators (PRBG's) can be found in the\nliterature that are based on arrays and simple operations such as modular additions,\nrotations and memory accesses (e.g. RC4, RC4A, Py, Py6, ISAAC etc.). This paper\ninvestigates the security of array-based stream ciphers (or PRBG's) against certain types\nof distinguishing attacks in a unified way. We argue, counter-intuitively, that the most\nuseful characteristic of an array, namely, the association of array-elements with unique\nindices, may turn out to be the origins of distinguishing attacks if adequate caution is\nnot maintained. In short, an adversary may attack a cipher simply exploiting the dependence\nof array-elements on the corresponding indices. Most importantly, the weaknesses are not\neliminated even if the indices and the array-elements are made to follow uniform\ndistributions separately. Exploiting these weaknesses we build distinguishing attacks with\nreasonable advantage on five recent stream ciphers (or PRBG's), namely, Py6 (2005, Biham\n\\emph{et al.}), IA, ISAAC (1996, Jenkins Jr.), NGG, GGHN (2005, Gong \\emph{et al.}) with\ndata complexities $2^{68.61}$, $2^{32.89}$, $2^{16.89}$, $2^{32.89}$ and $2^{32.89}$\nrespectively. In all the cases we worked under the assumption that the key-setup algorithms\nof the ciphers produced uniformly distributed internal states. We only investigated the\nmixing of bits in the keystream generation algorithms. In hindsight, we also observe that\nthe previous attacks on the other array-based stream ciphers (e.g. Py, etc.), can also be\nexplained in the general framework developed in this paper. We hope that our analyses will\nbe useful in the evaluation of the security of stream ciphers based on arrays and modular\naddition.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On the (In)security of Stream Ciphers Based on Arrays and Modular Addition (Full Version)” by Souradyuti Paul, Bart Preneel, Cryptology ePrint Archive, Paper 2005/448, https://eprint.iacr.org/2005/448. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2005-12-08T16:06:33Z",
    "updated": "2008-04-01T13:18:30Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2005/448.pdf",
    "sha256": "c94b580115e80d79b0bfb3576ee67c40d25431c58c9784bacd0e0788d2994ae3",
    "size": 207270,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:06:57Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2005/448/versions/20190225T160657Z.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2005/448.pdf",
      "size": 207270,
      "sha256": "c94b580115e80d79b0bfb3576ee67c40d25431c58c9784bacd0e0788d2994ae3",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2005/448/versions/20061007T105536Z.pdf",
      "captured_at": "2006-10-07T10:55:36Z",
      "label": "copy captured 2006-10-07",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20061007105536id_/http://eprint.iacr.org:80/2005/448.pdf",
      "size": 259826,
      "sha256": "3b7623ed2a7e95252edde719ea827ccd70ec86bc623677665022c3a66db32dc9",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2005/448/versions/20060503T043541Z.pdf",
      "captured_at": "2006-05-03T04:35:41Z",
      "label": "copy captured 2006-05-03",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20060503043541id_/http://eprint.iacr.org:80/2005/448.pdf",
      "size": 251251,
      "sha256": "090d4ee54b59e292ec78f721d0d418239f353858290517064e2405b659cef476",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260408203610id_/https://eprint.iacr.org/2005/448.pdf",
      "captured_at": "2026-04-08T20:36:10Z",
      "size": 178929
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2005/448.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "size": 207270
    }
  ],
  "bibtex": "@misc{cryptoeprint:2005/448,\n      author = {Souradyuti Paul and Bart Preneel},\n      title = {On the (In)security of Stream Ciphers Based on Arrays and Modular Addition (Full Version)},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2005/448},\n      year = {2005},\n      url = {https://eprint.iacr.org/2005/448}\n}"
}
