{
  "id": "2021/1204",
  "url": "https://opencryptology.org/2021/1204",
  "original_url": "https://eprint.iacr.org/2021/1204",
  "title": "Attacks on Pseudo Random Number Generators Hiding a Linear Structure",
  "authors": [
    "Florette Martinez"
  ],
  "affiliations": null,
  "abstract": "We introduce lattice-based practical seed-recovery attacks against two efficient number-theoretic pseudo-random number generators: the fast knapsack generator and a family of combined multiple recursive generators. The fast knapsack generator was introduced in 2009 by Von Zur Gathen and Shparlinski. It generates pseudo-random numbers very efficiently with strong mathematical guarantees on their statistical\nproperties but its resistance to cryptanalysis was left open since 2009. The given attacks are surprisingly efficient when the truncated bits do not represent a too large proportion of the internal states. Their complexities do not strongly increase with the size of parameters, only with the proportion of discarded bits.\nA multiple recursive generator is a pseudo-random number generator based on a constant-recursive sequence. A combined multiple recursive generator is a pseudo-random number generator based on combining two or more multiple recursive generators. L’Écuyer presented the general\nconstruction in 1996 and a popular instantiation deemed MRG32k3a in 1999. We use algebraic relations of both pseudo-random generators with underlying algebraic generators to show that they are cryptographically\ninsecure. We provide a theoretical analysis as well as efficient implementations.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Attacks on Pseudo Random Number Generators Hiding a Linear Structure” by Florette Martinez, Cryptology ePrint Archive, Paper 2021/1204, https://eprint.iacr.org/2021/1204. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-09-17T09:22:06Z",
    "updated": "2022-07-05T09:36:53Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/1204.pdf",
    "sha256": "37e716ace3ea3514f80dd65e62f2f13424bdea423226fa7154eda83a32918205",
    "size": 182201,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/1204/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/1204.pdf",
      "size": 182201,
      "sha256": "37e716ace3ea3514f80dd65e62f2f13424bdea423226fa7154eda83a32918205",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2021/1204/versions/20210918T091714Z.pdf",
      "captured_at": "2021-09-18T09:17:14Z",
      "label": "copy captured 2021-09-18",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20210918091714id_/https://eprint.iacr.org/2021/1204.pdf",
      "size": 182637,
      "sha256": "bf38fd3f7492c367140d966c0dca3f8d4955604df3a6ef8c5f91d33ce49e529c",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260524225834id_/https://eprint.iacr.org/2021/1204.pdf",
      "captured_at": "2026-05-24T22:58:34Z",
      "size": 183511
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/1204.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 182201
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/1204,\n      author = {Florette Martinez},\n      title = {Attacks on Pseudo Random Number Generators Hiding a Linear Structure},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/1204},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/1204}\n}"
}
