{
  "id": "2007/054",
  "url": "https://opencryptology.org/2007/054",
  "original_url": "https://eprint.iacr.org/2007/054",
  "title": "Cryptanalysis of Stream Ciphers Based on Arrays and Modular Addition",
  "authors": [
    "Souradyuti Paul"
  ],
  "affiliations": null,
  "abstract": "In modern cryptography, stream ciphers are most useful in applications where information\nneeds to be encrypted/decrypted at high speed (e.g. high resolution streaming video data)\nor when low footprint (gates/memory) encryption is required. In the literature, there exist\nplenty of stream ciphers whose internal states are based on arrays and that they use\nmodular additions to generate output streams. The abundance of array-based stream ciphers\nwith modular additions can be attributed to the fact that, when implemented in software\nskillfully, they are able to produce outputs at a very high speed. The main contribution of\nthis thesis is a unified analysis of stream ciphers based on arrays and modular addition.\nDuring the process, we detect cryptographic weaknesses in the designs of 9 widely known\nstream ciphers or pseudorandom bit generators (PRBGs).\n\nAt first, we show some theoretical results on solving an important class of equations known\nas \\emph{differential equations of addition} (DEA) that combine modular additions over two\ndifferent algebraic groups such as GF(2) and GF($2^{32}$). The results include, \\bite \\item\nproof of the fact that the satisfiability of an arbitrary set of DEA is in the complexity\nclass \\pP,\\item deriving all the solutions of an arbitrary set of DEA. \\eite Next, we apply\nthese results to attack a practical stream cipher named Helix (designed by Ferguson\n\\emph{et al.}) with both chosen plaintexts and adaptive chosen plaintexts.\n\nIn the second phase, the thesis closely scrutinizes a number of array-based stream ciphers\n(or PRBGs) in order to estimate their resistance against distinguishing attacks. We\neventually discover, counter-intuitively, that the correlations between the array-indices\nand their associated array-elements, which apparently seem to be useful from the point of\nview of implementation purposes, can be exploited to mount distinguishing attacks on such\ntype of ciphers if adequate precautions are not taken. In support of our theoretical\nfindings, we point out distinguishing attacks on 8 practical array-based stream ciphers (or\nPRBGs), namely RC4 (designed by Rivest), RC4A (designed by Paul and Preneel), Py, Py6\n(designed by Biham and Seberry), IA, ISAAC (designed by Jenkins Jr.), GGHN, NGG (by Gong\n\\emph{et al.}); our attacks are based on the dependence of array-elements on array-indices.\nIn all the cases we work under the assumption that the key-setup algorithms of the ciphers\nproduce uniformly distributed internal states. We detect flaws in the mixing of bits in the\nkeystream generation algorithms. Our analysis can be explained as the extension,\ndevelopment, adaptation and deeper characterization of the \\ti{fortuitous states attacks}\non the RC4 cipher by Fluhrer and McGrew in 2000.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Cryptanalysis of Stream Ciphers Based on Arrays and Modular Addition” by Souradyuti Paul, Cryptology ePrint Archive, Paper 2007/054, https://eprint.iacr.org/2007/054. 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-02-20T10:11:20Z",
    "updated": "2011-11-24T17:01:23Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2007/054.pdf",
    "sha256": "9260bca188931f2c41afdde5d99af143f18d0758e7b910e1fc404fd8990b62ef",
    "size": 618764,
    "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/054/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/054.pdf",
      "size": 618764,
      "sha256": "9260bca188931f2c41afdde5d99af143f18d0758e7b910e1fc404fd8990b62ef",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2007/054/versions/20070824T052651Z.pdf",
      "captured_at": "2007-08-24T05:26:51Z",
      "label": "copy captured 2007-08-24",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20070824052651id_/http://eprint.iacr.org/2007/054.pdf",
      "size": 984514,
      "sha256": "31c289d45ef11ddd340b4653d057d88d196e6e756c55e49feb1b8cff8531aae1",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260408203918id_/https://eprint.iacr.org/2007/054.pdf",
      "captured_at": "2026-04-08T20:39:18Z",
      "size": 540937
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2007/054.pdf",
      "captured_at": "2019-02-25T16:13:43Z",
      "size": 618764
    }
  ],
  "bibtex": "@misc{cryptoeprint:2007/054,\n      author = {Souradyuti Paul},\n      title = {Cryptanalysis of Stream Ciphers Based on Arrays and Modular Addition},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2007/054},\n      year = {2007},\n      url = {https://eprint.iacr.org/2007/054}\n}"
}
