{
  "id": "2018/145",
  "url": "https://opencryptology.org/2018/145",
  "original_url": "https://eprint.iacr.org/2018/145",
  "title": "Fast Near Collision Attack on the Grain v1 Stream Cipher",
  "authors": [
    "Bin Zhang",
    "Chao Xu",
    "Willi Meier"
  ],
  "affiliations": null,
  "abstract": "Modern stream ciphers often adopt a large internal state to resist various\nattacks, where the cryptanalysts have to deal with a large number of variables\nwhen mounting state recovery attacks. In this paper, we propose a general new\ncryptanalytic method on stream ciphers, called fast near collision attack, to\naddress this situation. It combines a near collision property with the\ndivide-and-conquer strategy so that only subsets of the internal state,\nassociated with different keystream vectors, are recovered first and merged\ncarefully later to retrieve the full large internal state. A self-contained\nmethod is introduced and improved to derive the target subset of the internal\nstate from the partial state difference efficiently. As an application, we\npropose a new key recovery attack on Grain v1, one of the $7$ finalists\nselected by the eSTREAM project, in the single-key setting. Both the\npre-computation and the online phases are tailored according to its internal\nstructure, to provide an attack for any fixed IV in $2^{75.7}$ cipher ticks\nafter the pre-computation of $2^{8.1}$ cipher ticks, given $2^{28}$-bit memory\nand about $2^{19}$ keystream bits. Practical experiments on Grain v1 itself\nwhenever possible and on a 80-bit reduced version confirmed our results.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Fast Near Collision Attack on the Grain v1 Stream Cipher” by Bin Zhang, Chao Xu, Willi Meier, Cryptology ePrint Archive, Paper 2018/145, https://eprint.iacr.org/2018/145. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2018-02-08T16:31:11Z",
    "updated": "2018-02-08T16:31:11Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2018/145.pdf",
    "sha256": "62142bba2efb0fad2adfee12be27e2c62c6837a93fd2a068a14386dec3218642",
    "size": 278004,
    "source": "github-mirror",
    "source_date": "2019-02-25T18:03:07Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2018/145/versions/20190225T180307Z.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/145.pdf",
      "size": 278004,
      "sha256": "62142bba2efb0fad2adfee12be27e2c62c6837a93fd2a068a14386dec3218642",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260309114321id_/https://eprint.iacr.org/2018/145.pdf",
      "captured_at": "2026-03-09T11:43:21Z",
      "size": 256355
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/145.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "size": 278004
    }
  ],
  "bibtex": "@misc{cryptoeprint:2018/145,\n      author = {Bin Zhang and Chao Xu and Willi Meier},\n      title = {Fast Near Collision Attack on the Grain v1 Stream Cipher},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2018/145},\n      year = {2018},\n      url = {https://eprint.iacr.org/2018/145}\n}"
}
