{
  "id": "2012/339",
  "url": "https://opencryptology.org/2012/339",
  "original_url": "https://eprint.iacr.org/2012/339",
  "title": "Practical Polynomial Time Known Plaintext Attacks on a Stream Cipher Proposed by John Nash",
  "authors": [
    "Adi Shamir",
    "Eldad Zinger"
  ],
  "affiliations": null,
  "abstract": "In this paper we present two known plaintext attacks on a stream cipher\nwhich was developed by John Nash in the early 1950's but whose design\nwas declassified by the NSA only in 2012. The main attack reduces\nthe claimed security of the scheme from $\\left(\\left(n-1\\right)!\\cdot2^{n}\\right)^{2}$\nto $O\\left(n^{2}\\log^{3}n\\right)$, where $n$ is a security parameter.\nThis attack succeeds with high probability for randomly chosen keys\neven when the only thing we know about the plaintext is that a small\nfraction of isolated plaintext bits are slightly biased, but always\nfails for a certain well defined class of keys which is exponentially\nlarge but a negligibly small fraction of all the possible keys. To\nshow that it would not suffice to simply restrict the choice of keys\nto this class, we develop a different attack which works best for\nthe subset of keys which are hardest to find by the first attack.\nThis attack reduces the security of the scheme from $2^{O\\left(n\\right)}$\nto $O\\left(n^{2}\\right)$. Both attacks were verified with actual\nsimulations, finding cryptographic keys which are thousands of bits\nlong in just a few minutes on a single PC.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Practical Polynomial Time Known Plaintext Attacks on a Stream Cipher Proposed by John Nash” by Adi Shamir, Eldad Zinger, Cryptology ePrint Archive, Paper 2012/339, https://eprint.iacr.org/2012/339. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2012-06-22T19:47:54Z",
    "updated": "2012-11-13T15:31:12Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2012/339.pdf",
    "sha256": "15bda3396be0fabf4b84ca7edb2a973abd9b86c7375f9b3a118c94594db1ed41",
    "size": 299411,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:37:15Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2012/339/versions/20190225T163715Z.pdf",
      "captured_at": "2019-02-25T16:37:15Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2012/339.pdf",
      "size": 299411,
      "sha256": "15bda3396be0fabf4b84ca7edb2a973abd9b86c7375f9b3a118c94594db1ed41",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260301165101id_/https://eprint.iacr.org/2012/339.pdf",
      "captured_at": "2026-03-01T16:51:01Z",
      "size": 279923
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2012/339.pdf",
      "captured_at": "2019-02-25T16:37:15Z",
      "size": 299411
    }
  ],
  "bibtex": "@misc{cryptoeprint:2012/339,\n      author = {Adi Shamir and Eldad Zinger},\n      title = {Practical Polynomial Time Known Plaintext Attacks on a Stream Cipher Proposed by John Nash},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2012/339},\n      year = {2012},\n      url = {https://eprint.iacr.org/2012/339}\n}"
}
