{
  "id": "2007/230",
  "url": "https://opencryptology.org/2007/230",
  "original_url": "https://eprint.iacr.org/2007/230",
  "title": "New Weaknesses in the Keystream Generation Algorithms of the Stream Ciphers TPy and Py",
  "authors": [
    "Gautham Sekar",
    "Souradyuti Paul",
    "Bart Preneel"
  ],
  "affiliations": null,
  "abstract": "The stream ciphers Py, Py6 designed by Biham and Seberry were promising candidates in the\nECRYPT-eSTREAM project because of their impressive speed.  Since their publication in April\n2005, a number of cryptanalytic weaknesses of the ciphers have been discovered. As a\nresult, a strengthened version Pypy was developed to repair these weaknesses; it was\nincluded in the category of `Focus ciphers' of the Phase II of the eSTREAM competition.\nHowever, even the new cipher Pypy was not free from flaws, resulting in a second redesign.\nThis led to the generation of three new ciphers TPypy, TPy and TPy6. The designers claimed\nthat TPy would be secure with a key size up to 256 bytes, i.e., 2048 bits. In February\n2007, Sekar \\emph{et al.\\ }published an attack on TPy with $2^{281}$ data and comparable\ntime. This paper shows how to build a distinguisher with $2^{268.6}$ key/IVs and one\noutputword for each key (i.e., the distinguisher can be constructed within the design\nspecifications); it uses a different set of weak states of the TPy. Our results show that distinguishing attacks with complexity lower than the brute force\nexist if the key size of TPy is longer than 268 bits. Therefore, for\nlonger keys, our attack constitutes an academic break of the cipher.\nFurthermore, we discover a large number of similar bias-producing\nstates of TPy and provide a general framework to compute them. The\nattacks on TPy are also shown to be effective on Py.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“New Weaknesses in the Keystream Generation Algorithms of the Stream Ciphers TPy and Py” by Gautham Sekar, Souradyuti Paul, Bart Preneel, Cryptology ePrint Archive, Paper 2007/230, https://eprint.iacr.org/2007/230. 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-06-19T19:49:09Z",
    "updated": "2008-11-29T23:45:24Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2007/230.pdf",
    "sha256": "92441eba8d99cf8375e939860e6707eccf5f8bbf3cf1e93710aabc121f693ed7",
    "size": 180230,
    "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/230/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/230.pdf",
      "size": 180230,
      "sha256": "92441eba8d99cf8375e939860e6707eccf5f8bbf3cf1e93710aabc121f693ed7",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2007/230/versions/20080221T211612Z.pdf",
      "captured_at": "2008-02-21T21:16:12Z",
      "label": "copy captured 2008-02-21",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20080221211612id_/http://eprint.iacr.org/2007/230.pdf",
      "size": 171278,
      "sha256": "5765ac12b39df8cba40eaa7fa022fafb2be676e4eddbd810292d90da45005a26",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260408211449id_/https://eprint.iacr.org/2007/230.pdf",
      "captured_at": "2026-04-08T21:14:49Z",
      "size": 159639
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2007/230.pdf",
      "captured_at": "2019-02-25T16:13:43Z",
      "size": 180230
    }
  ],
  "bibtex": "@misc{cryptoeprint:2007/230,\n      author = {Gautham Sekar and Souradyuti Paul and Bart Preneel},\n      title = {New Weaknesses in the Keystream Generation Algorithms of the Stream Ciphers TPy and Py},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2007/230},\n      year = {2007},\n      url = {https://eprint.iacr.org/2007/230}\n}"
}
