Computational Extractors and Pseudorandomness

Dana Dachman-Soled, Rosario Gennaro, Hugo Krawczyk, Tal Malkin

TL;DR

This paper explores computational extractors—algorithms that turn imperfect randomness into bits that are computationally indistinguishable from uniform. The authors prove that generic black-box constructions from one-way permutations cannot escape the entropy loss of traditional statistical extractors, but show that stronger primitives (like weak PRFs and exponentially-hard permutations) enable highly efficient, practical extractors that bypass this entropy barrier entirely.

What Problem Does This Paper Address?

Traditional statistical extractors convert a source with min-entropy $k$ into $m$ random-looking bits using a short random seed $\ell$. However, information theory imposes a steep tax known as the Radhakrishnan–Ta-Shma (RT) bound: to get outputs within $2^{-\delta}$ statistical distance of uniform, the source entropy must satisfy $\delta \approx (k + \ell - m)/2$. For example, deriving a 128-bit key with 100-bit security against adversaries requires a source with at least 328 bits of min-entropy, which is often unavailable (e.g., a 160-bit elliptic curve Diffie-Hellman secret).

Cryptographic applications rarely need statistical perfection; computational indistinguishability is sufficient. A natural workaround is the extract-then-PRG approach: run a statistical extractor to produce a short key, then expand it using a pseudorandom generator (PRG). However, this still suffers from the initial entropy loss of the statistical step.

The authors investigate whether this entropy penalty is fundamental:

  1. Are one-way functions (OWFs) strictly necessary to build non-trivial ("proper") computational extractors?
  2. What are the inherent complexity bounds on black-box constructions from one-way permutations (OWPs)?
  3. Can stronger primitives bypass the statistical extraction step altogether?

Methods

The authors employ complexity-theoretic and cryptographic reduction techniques:

  • Stretch Definition: They define the stretch of an extractor as $\sigma(p) = m(p) - k(p) - \ell(p)$. Extractors with $\sigma(p) \ge -O(\log p)$ are called proper computational extractors (beating the statistical baseline).
  • The Samplable RT (SRT) Assumption: They introduce a conjecture that the RT bound holds even when restricted to efficiently (polynomial-time) samplable source distributions.
  • Oracle & Black-Box Separation: Adapting the framework of Gennaro et al. (GGKT05), they establish lower bounds on the number of oracle queries $q$ to a one-way permutation.
  • Direct wPRF Construction: Rather than extracting first, they key a weak pseudorandom function ($\text{wPRF}$) directly with the imperfect secret source $a \in \{0, 1\}^n$ and pass the random extractor seed $s$ as input: $F(a, s) = (f_a(s), s)$, analyzing degradation via Pietrzak's leakage-resilience bounds.

Datasets

Not discussed in the paper. (The paper is purely theoretical and does not use empirical datasets or benchmarks.)

Key Insights and Ideas

  • Equivalence with One-Way Functions: Positive-stretch computational extractors unconditionally imply the existence of PRGs (and hence OWFs). Furthermore, under the SRT assumption, any proper computational extractor (even with stretch 0 or slightly negative) is existentially equivalent to OWFs.
  • The Inherent Cost of Generic Black-Box Constructions: For generic constructions using a $T$-hard OWP (where $t = 3 \log T$), an extractor must make $q$ queries such that $q \cdot t - \sigma = \omega(\log p)$. In other words, an OWP-based construction must make enough calls to pay for both the output stretch and the statistical entropy loss, proving that "extract-then-PRG" is asymptotically optimal for generic OWP constructions.
  • Unconditional Fully Black-Box Bound: Dispensing with the SRT assumption, the authors prove an unconditional lower bound for fully black-box constructions: $q \ge (2\delta + \sigma - C) / (5 \log S_\pi)$.
  • Reversing the Paradigm ("PRG-Then-Extract"): When an OWP is exponentially hard, one can invert the usual workflow: apply the OWP directly to the source to expand computational entropy first, then run a statistical extractor on the expanded state.
  • Duality to HKDF via wPRFs: HKDF keys a PRF/HMAC with a public salt and feeds the weak key material as input. Here, the authors invert those roles: using the weak source directly as the key to a weak PRF and the salt as input yields a secure extractor where security degrades gracefully by only $2^{-(n-k)}$, without needing any statistical extractor.

Key Results

  • Optimality of Extract-then-PRG: Proved matching upper and lower bounds for the query complexity of computational extractors built from OWPs.
  • Practical KDFs without Statistical Extractors: The wPRF-based extractor $F(a, s) = (f_a(s), s)$ produces secure pseudorandom keys even when output length exceeds min-entropy:
  • Extracting from a 160-bit Diffie-Hellman secret into a 256-bit key using a standard wPRF (e.g., based on SHA-256 with $S/\varepsilon \approx 2^{256}$): achieving distinguishing advantage $\varepsilon' \approx 2^{-40}$ requires circuit size $S' \approx 2^{80}$; achieving $\varepsilon' = 2^{-20}$ requires $S' \approx 2^{120}$.
  • Under a traditional statistical extractor, generating a 256-bit output from 160 bits of entropy would yield zero security guarantees.

Limitations and Future Work

  • The SRT Assumption: Equivalence between OWFs and proper extractors with non-positive stretch relies on the unproven SRT assumption. Determining whether statistical extraction bounds hold against samplable distributions remains an important open problem.
  • Key-Length Constraint for wPRF Construction: The practical wPRF-based extractor requires that the source entropy material is at most the key length of the wPRF ($k \le n$). Unlike HKDF, it cannot natively handle arbitrarily long input keys without additional machinery.
  • Tightness for General OWFs: The lower bounds are proven specifically for one-way permutations (and random permutations); whether tight query bounds exist for arbitrary one-way functions remains unresolved.

Summary updated

BibTeX
@inproceedings{dachmansoled2012computational,
  author = {Dana Dachman-Soled and Rosario Gennaro and Hugo Krawczyk and Tal Malkin},
  title = {{Computational Extractors and Pseudorandomness}},
  booktitle = {TCC},
  year = {2012},
  url = {https://openreview.net/forum?id=g58D6eAJbw},
}
Figure