{
  "id": "2006/030",
  "url": "https://opencryptology.org/2006/030",
  "original_url": "https://eprint.iacr.org/2006/030",
  "title": "Improved cryptanalysis of Py",
  "authors": [
    "Paul Crowley"
  ],
  "affiliations": null,
  "abstract": "We improve on the best known cryptanalysis of the\nstream cipher Py by using a hidden Markov model for the\ncarry bits in addition operations where a certain\ndistinguishing event takes place, and constructing from\nit an \"optimal distinguisher\" for the bias in the output\nbits which makes more use of the information available.\nWe provide a general means to efficiently measure the\nefficacy of such a hidden Markov model based\ndistinguisher, and show that our attack improves on the\nprevious distinguisher by a factor of  2^16  in the number of\nsamples needed. Given  2^72  bytes of output we can\ndistinguish Py from random with advantage greater than  1/2, or given only a single stream of  2^64  bytes we have\nadvantage 0.03.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Improved cryptanalysis of Py” by Paul Crowley, Cryptology ePrint Archive, Paper 2006/030, https://eprint.iacr.org/2006/030. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2006-01-27T18:14:49Z",
    "updated": "2006-01-27T18:14:49Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2006/030.pdf",
    "sha256": "63efe1ca9691f33472d20c37397c1b83783d608b33e2ac268595c24be1af433f",
    "size": 188274,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:06:57Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2006/030/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/2006/030.pdf",
      "size": 188274,
      "sha256": "63efe1ca9691f33472d20c37397c1b83783d608b33e2ac268595c24be1af433f",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260408204041id_/https://eprint.iacr.org/2006/030.pdf",
      "captured_at": "2026-04-08T20:40:41Z",
      "size": 166246
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2006/030.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "size": 188274
    }
  ],
  "bibtex": "@misc{cryptoeprint:2006/030,\n      author = {Paul Crowley},\n      title = {Improved cryptanalysis of Py},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2006/030},\n      year = {2006},\n      url = {https://eprint.iacr.org/2006/030}\n}"
}
