{
  "id": "2025/1156",
  "url": "https://opencryptology.org/2025/1156",
  "original_url": "https://eprint.iacr.org/2025/1156",
  "title": "An efficient construction of Raz's two-source randomness extractor with improved parameters",
  "authors": [
    "Cameron Foreman",
    "Lewis Wooltorton",
    "Kevin Milner",
    "Florian J. Curchod"
  ],
  "affiliations": null,
  "abstract": "Randomness extractors are algorithms that distill weak random sources into near-perfect random numbers. Two-source extractors enable this distillation process by combining two independent weak random sources. Raz’s extractor (STOC '05) was the first to achieve this in a setting where one source has linear min-entropy (i.e., proportional to its length), while the other has only logarithmic min-entropy in its length. However, Raz's original construction is impractical due to a polynomial computation time of at least degree 4. Our work solves this problem by presenting an improved version of Raz's extractor with quasi-linear computation time, as well as a new analytic theorem with reduced entropy requirements. We provide comprehensive analytical and numerical comparisons of our construction with others in the literature, and we derive strong and quantum-proof versions of our efficient Raz extractor. Additionally, we offer an easy-to-use, open-source code implementation of the extractor and a numerical parameter calculation module.",
  "category": "Implementation",
  "license": {
    "code": "CC BY-NC-ND",
    "url": "https://creativecommons.org/licenses/by-nc-nd/4.0/",
    "label": "CC BY-NC-ND 4.0",
    "attribution": "“An efficient construction of Raz's two-source randomness extractor with improved parameters” by Cameron Foreman, Lewis Wooltorton, Kevin Milner, Florian J. Curchod, Cryptology ePrint Archive, Paper 2025/1156, https://eprint.iacr.org/2025/1156. Licensed under CC BY-NC-ND 4.0 (https://creativecommons.org/licenses/by-nc-nd/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": true,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2025-06-18T15:16:57Z",
    "updated": "2025-06-20T21:18:32Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1156.pdf",
    "sha256": "976d6b739660a8b22260483c00005c7d4cc716de474102c0952e6a13ad89a5a6",
    "size": 843686,
    "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/2025/1156/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/2025/1156.pdf",
      "size": 843686,
      "sha256": "976d6b739660a8b22260483c00005c7d4cc716de474102c0952e6a13ad89a5a6",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1156.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 843686
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250703182944id_/https://eprint.iacr.org/2025/1156.pdf",
      "captured_at": "2025-07-03T18:29:44Z",
      "size": 770023
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1156,\n      author = {Cameron Foreman and Lewis Wooltorton and Kevin Milner and Florian J. Curchod},\n      title = {An efficient construction of Raz's two-source randomness extractor with improved parameters},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1156},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1156}\n}"
}
