{
  "id": "2023/1451",
  "url": "https://opencryptology.org/2023/1451",
  "original_url": "https://eprint.iacr.org/2023/1451",
  "title": "Counting Unpredictable Bits: A Simple PRG from One-way Functions",
  "authors": [
    "Noam Mazor",
    "Rafael Pass"
  ],
  "affiliations": null,
  "abstract": "A central result in the theory of Cryptography, by Hastad, Imagliazzo, Luby and Levin [SICOMP’99], demonstrates that the existence one-way functions (OWF) implies the existence of pseudo-random generators (PRGs). Despite the fundamental importance of this result, and several elegant improvements/simplifications, analyses of constructions of PRGs from OWFs remain complex (both conceptually and technically). \n\nOur goal is to provide a construction of a PRG from OWFs with a simple proof of security; we thus focus on the setting of non-uniform security (i.e., we start off with a OWF secure against non-uniform PPT, and we aim to get a PRG secure against non-uniform PPT).\n\nOur main result is a construction of a PRG from OWFs with a self-contained, simple, proof of security, relying only on the Goldreich-Levin Theorem (and the Chernoff bound). Although our main goal is simplicity, the construction, and a variant there-of, also improves the efficiency—in terms of invocations and seed lengths—of the state-of-the-art constructions due to [Haitner-Reingold-Vadhan, STOC’10] and [Vadhan-Zheng, STOC’12], by a factor $O(\\log^2 n)$.\n\nThe key novelty in our analysis is a generalization of the Blum-Micali [FOCS’82] notion of unpredictabilty—rather than requiring that every bit in the output of a function is unpredictable, we count how many unpredictable bits a function has, and we show that any OWF on $n$ input bits (after hashing the input and the output) has $n + O(\\log n)$ unpredictable output bits. Such unpredictable bits can next be “extracted” into a pseudorandom string using standard techniques.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Counting Unpredictable Bits: A Simple PRG from One-way Functions” by Noam Mazor, Rafael Pass, Cryptology ePrint Archive, Paper 2023/1451, https://eprint.iacr.org/2023/1451. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-09-22T14:21:39Z",
    "updated": "2024-07-12T14:06:06Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1451.pdf",
    "sha256": "9d76da8c15da014106c3da4143ed6c7f51fabe0965100d2793335f65006f7685",
    "size": 549436,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/1451/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1451.pdf",
      "size": 549436,
      "sha256": "9d76da8c15da014106c3da4143ed6c7f51fabe0965100d2793335f65006f7685",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/1451/versions/20240228T160302Z.pdf",
      "captured_at": "2024-02-28T16:03:02Z",
      "label": "copy captured 2024-02-28",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240228160302id_/https://eprint.iacr.org/2023/1451.pdf",
      "size": 533761,
      "sha256": "a806c48ad5bf38084bdcb3a006c3ab7b6f2059fa10e861eb0879de11e7167bcb",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1451.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 549436
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260215160342id_/https://eprint.iacr.org/2023/1451.pdf",
      "captured_at": "2026-02-15T16:03:42Z",
      "size": 547775
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1451,\n      author = {Noam Mazor and Rafael Pass},\n      title = {Counting Unpredictable Bits: A Simple PRG from One-way Functions},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1451},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1451}\n}"
}
