Skip to content

Randomness extractor

A randomness extractor, often simply called an "extractor", is a function, which being applied to output from a weak entropy source, together with a short, uniformly random seed, generates a highly random output that appears independent from the source and uniformly distributed.

Core Idea

A randomness extractor, often simply called an extractor, is a function that takes output from a weakly random source together with a short, uniformly random auxiliary input and produces output that is close to uniformly distributed and appears independent of the source. Weakly random sources include radioactive decay and thermal noise; the only requirements are that the source cannot be fully controlled, calculated or predicted, and that a lower bound on its entropy rate can be established.

Formally, randomness is measured by min-entropy: the min-entropy of a distribution \(X\) is the largest \(k\) such that \(\Pr[X = x] \leq 2^{-k}\) for every value \(x\). A function \(\text{Ext}: \{0,1\}^n \times \{0,1\}^d \to \{0,1\}^m\) is a \((k, \varepsilon)\)-extractor if, for every \(n\)-bit distribution \(X\) with min-entropy \(k\), its output on \(X\) and a uniform \(d\)-bit string is \(\varepsilon\)-close to uniform in statistical distance. The design goal is a small \(d\), using as little true randomness as possible, and a large \(m\), extracting as many nearly random bits as possible. An extractor is strong if its output remains close to uniform even when concatenated with the uniform auxiliary string, and explicit if it can be computed in polynomial time.

The weak source is always longer than the output, and efficient extractors keep this ratio as low as possible. For a given source an extractor can act as a true random number generator, but no single extractor has been proven to produce truly random output from every kind of weak source.

How would you explain it like I'm…

Lumpy-Coin Fixer

Imagine a lumpy, unfair coin that lands heads too often, and you can't fully guess it but it isn't fair either. A randomness extractor is like a mixing machine: you pour in lots of those lumpy flips plus a few fair ones, and out comes a smaller pile of flips that act perfectly fair.

Messy-to-Fair Randomness Squeezer

Some sources of randomness are messy: they're unpredictable, but not perfectly fair, like a coin that lands heads more often. A randomness extractor is a math function that takes a long stretch of this messy randomness, plus a short bit of perfectly fair randomness called a seed, and squeezes out a shorter result that looks completely fair. The source just has to be impossible to fully predict and have some guaranteed amount of surprise in it. Good extractors squeeze out as much fair randomness as possible while needing only a small seed.

Seeded Entropy Extraction Function

A randomness extractor is a function that takes output from a weak random source, one that is unpredictable but not uniformly distributed, along with a short, truly uniform random seed, and produces output that is nearly uniform and appears independent of the source. Weak sources include radioactive decay or thermal noise. The source must be impossible to fully control or predict, and there must be a provable lower bound on how much randomness (entropy) it contains. The output is always shorter than the source; efficient extractors keep that loss small while using a short seed. Older literature called some of these 'unbiasing algorithms', since they remove bias. For a particular source an extractor can act like a true random number generator, but no single extractor is proven to work for every kind of weak source.

 

A randomness extractor is a function that, applied to output from a weak entropy source together with a short, uniformly random seed, produces highly random output that appears uniformly distributed and independent of the source. Admissible weak sources, such as radioactive decay or thermal noise, are constrained only in that they cannot be fully controlled, calculated, or predicted, and that a lower bound on their entropy rate can be established. A source's departure from uniformity is sometimes called bias, and older literature calls some extractors unbiasing algorithms. The source is always longer than the output, and efficiency means making that length ratio as small as possible while keeping the seed short, extracting as much of the available randomness as possible. For a given source an extractor can serve as a true random number generator, but no single extractor has been proven to produce truly random output from every type of weakly random source.

Structural Signature

Sig role-phrases:

  • Defining carrier — Additionally, this scheme allows for increased complexity, quality, and security of the output stream, controlled by specifying three parameters: time cost, memory required, and secret key.
  • Constitutive relation — is an explicit (k, ε)-extractor, if Ext(x, y) can be computed in polynomial time (in its input length) and for every n, Ext\(_n\) is a (k(n), ε(n))-extractor.
  • Operating condition — The lemma is proved by examining the distance from uniform of the output, which in a \(2^{-m} \epsilon(n)\)-extractor obviously is at most \(2^{-m} \epsilon(n)\), which satisfies the condition of the APRF.
  • Recognition evidence — The proof of this extractor's existence with \(\delta \leq 1\), as well as the fact that it is computable in linear computing time on the length of \(m\) can be found in the paper by Jesse Kamp and David Zuckerman (p.
  • Admissible variation — Since we know \(\delta \leq 1\) then the lower bound on \(m\) is dominated by \(n\).
  • Characteristic consequence — The value of \(k\) is calculated by using the definition of the extractor, where we know \((n,k) = (n, \delta n) \Rightarrow k = \delta n\).
  • Failure boundary — This lemma is proved by Kamp and Zuckerman.

What It Is Not

  • Not the whole field of randomness extraction. The node requires the specific identity stated by A randomness extractor, often simply called an "extractor", is a function, which being applied to output from a weak entropy source, together with a short, uniformly random seed, generates a highly random output that appears independent from the source and uniformly distributed.
  • Not an over-broad reading. (When a PRG is based on the existence of hard-core predicates, one can think of the weakly random source as a set of truth tables of such predicates and prove that the output is statistically close to uniform. ) However, the general PRG definition does not specify that a weakly random source must be used, and while in the case of an extractor, the output should be statistically close to uniform, in a PRG it is only required to be computationally indistinguishable from uniform, a somewhat weaker concept.
  • Not an over-broad reading. However, it is usually not enough merely to show that an extractor exists.
  • Not an over-broad reading. However, not every hashing algorithm is suitable for this purpose.
  • Not automatically Pseudorandom Number Generator. Retrieval proximity does not establish equivalence; the two identities must be compared by carrier, operation, and failure boundary.

Scope of Application

Randomness extractor applies literally inside randomness extraction wherever the source-defined carrier and relation can be established. Its documented habitats include:

  • Applications. Randomness extractors are used widely in cryptographic applications, whereby a cryptographic hash function is applied to a high-entropy, but non-uniform source, such as disk drive timing information or keyboard delays, to yield a uniformly random result.
  • Randomness extractors in cryptography. For this purpose Almost-Perfect Resilient Functions (APRF) are used.
  • Randomness extractors in cryptography. This property of extractors is particularly useful in what is commonly called Exposure-Resilient cryptography in which the desired extractor is used as an Exposure-Resilient Function (ERF).
  • Formal definition of extractors. Let \(\text{Ext}: \{\texttt{0},\texttt{1}\}^n \times \{\texttt{0},\texttt{1}\}^d \to \{\texttt{0},\texttt{1}\}^m\) be a function that takes as input a sample from an \((n, k)\) distribution \(X\) and a d-bit seed from \(U_d\), and outputs an m-bit string.
  • Explicit extractors. Using the probabilistic method, it can be shown that there exists a (k, ε)-extractor, i.e. that the construction is possible.
  • Explicit extractors. Definition (Explicit Extractor): For functions k(n), ε(n), d(n), m(n) a family Ext = {Ext\(_n\)} of functions \(\text{Ext}_n : \{\texttt{0},\texttt{1}\}^n \times \{\texttt{0},\texttt{1}\}^{d(n)} \rightarrow \{\texttt{0},\texttt{1}\}^{m(n)}\).

Outside randomness extraction, the name should be retained only when these same operational conditions survive; otherwise the comparison belongs to the broader parent Pattern or should be marked as analogy.

Clarity

A clear use of Randomness extractor names the carrier, the operative relation, and the conditions under which the source treats the identity as present. The minimal definition is A randomness extractor, often simply called an "extractor", is a function, which being applied to output from a weak entropy source, together with a short, uniformly random seed, generates a highly random output that appears independent from the source and uniformly distributed. The strongest recognition evidence is: The proof of this extractor's existence with \(\delta \leq 1\), as well as the fact that it is computable in linear computing time on the length of \(m\) can be found in the paper by Jesse Kamp and David Zuckerman (p. A report should distinguish that evidence from a proxy, consequence, or common implementation. It should also state the qualification (When a PRG is based on the existence of hard-core predicates, one can think of the weakly random source as a set of truth tables of such predicates and prove that the output is statistically close to uniform. ) However, the general PRG definition does not specify that a weakly random source must be used, and while in the case of an extractor, the output should be statistically close to uniform, in a PRG it is only required to be computationally indistinguishable from uniform, a somewhat weaker concept. so that a reader can reproduce the classification rather than infer it from topical resemblance.

Manages Complexity

Randomness extractor compresses multiple randomness extraction details into a stable diagnostic relation. The source shows both the central mechanism—is an explicit (k, ε)-extractor, if Ext(x, y) can be computed in polynomial time (in its input length) and for every n, Ext\(_n\) is a (k(n), ε(n))-extractor.—and the practical consequence—the value of k is calculated by using the definition of the extractor, where we know. This compression makes cases comparable while leaving parameters, conventions, exceptions, and evidential quality explicit. It is lossy by design: local history and implementation details may be omitted only when they do not alter the defining relation.

Abstract Reasoning

  1. Type the carrier. Identify the randomness extraction entities to which the claim applies.
  2. State the relation. Use the source-grounded identity: A randomness extractor, often simply called an "extractor", is a function, which being applied to output from a weak entropy source, together with a short, uniformly random seed, generates a highly random output that appears independent from the source and uniformly distributed.
  3. Check operation and conditions. The lemma is proved by examining the distance from uniform of the output, which in a \(2^{-m} \epsilon(n)\)-extractor obviously is at most \(2^{-m} \epsilon(n)\), which satisfies the condition of the APRF.
  4. Demand recognition evidence. The proof of this extractor's existence with \(\delta \leq 1\), as well as the fact that it is computable in linear computing time on the length of \(m\) can be found in the paper by Jesse Kamp and David Zuckerman (p.
  5. Test variation. Change an implementation or setting while preserving since we know \(\delta \leq 1\) then the lower bound on \(m\) is dominated by \(n\).
  6. Run the collapse test. Remove the defining operation; if the label still seems equally apt, only a topic or correlate was retained.
  7. Reduce cautiously. When the specialist conditions cannot be carried, route the residual comparison to Pattern.

Knowledge Transfer

Within the home domain. Knowledge about Randomness extractor transfers literally when a new case preserves the same carrier type, relation, and recognition test. Randomness extractors are used widely in cryptographic applications, whereby a cryptographic hash function is applied to a high-entropy, but non-uniform source, such as disk drive timing information or keyboard delays, to yield a uniformly random result. For this purpose Almost-Perfect Resilient Functions (APRF) are used.

Beyond the home domain. No canonical parent is asserted for Randomness extractor. An outside case receives the specialist name only when the same typed roles and rejection conditions can be filled literally; otherwise the comparison remains an analogy pending later graph densification.

Examples

Canonical

In essence, this measures how likely X is to take its most likely value, giving a worst-case bound on how random X appears. This case is canonical because it supplies a concrete carrier and lets the defining relation be checked rather than merely named.

Mapped back: carrier → the entities in the documented case; operation → A randomness extractor, often simply called an "extractor", is a function, which being applied to output from a weak entropy source, together with a short, uniformly random seed, generates a highly random output that appears independent from the source and uniformly distributed; recognition evidence → The proof of this extractor's existence with \(\delta \leq 1\), as well as the fact that it is computable in linear computing time on the length of \(m\) can be found in the paper by Jesse Kamp and David Zuckerman (p

Applied / In Practice

For example, if the source is known but the seed is not known (or vice versa). The applied case shows how the identity is used under a second setting or qualification while keeping the same operative relation.

Mapped back: changed setting → Randomness extractors in cryptography; invariant → A randomness extractor, often simply called an "extractor", is a function, which being applied to output from a weak entropy source, together with a short, uniformly random seed, generates a highly random output that appears independent from the source and uniformly distributed; boundary → the case exits the class when (When a PRG is based on the existence of hard-core predicates, one can think of the weakly random source as a set of truth tables of such predicates and prove that the output is statistically close to uniform. ) However, the general PRG definition does not specify that a weakly random source must be used, and while in the case of an extractor, the output should be statistically close to uniform, in a PRG it is only required to be computationally indistinguishable from uniform, a somewhat weaker concept

Structural Tensions

T1 — Stable identity versus admissible variation. (When a PRG is based on the existence of hard-core predicates, one can think of the weakly random source as a set of truth tables of such predicates and prove that the output is statistically close to uniform. ) However, the general PRG definition does not specify that a weakly random source must be used, and while in the case of an extractor, the output should be statistically close to uniform, in a PRG it is only required to be computationally indistinguishable from uniform, a somewhat weaker concept. The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.

Diagnostic: Which changes preserve the defining relation, and which replace it?

T2 — Recognition versus proxy. However, it is usually not enough merely to show that an extractor exists. The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.

Diagnostic: Does the cited evidence establish the identity or only a correlated sign?

T3 — Definition versus implementation. However, not every hashing algorithm is suitable for this purpose. The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.

Diagnostic: Is the observed implementation constitutive, optional, or merely common?

T4 — Scope versus overextension. More specifically, when a strong extractor is used its output will appear be uniformly random, even to someone who sees part (but not all) of the source. The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.

Diagnostic: Can every claimed application fill the same typed roles without metaphor?

T5 — Transfer versus domain accent. Additionally, this scheme allows for increased complexity, quality, and security of the output stream, controlled by specifying three parameters: time cost, memory required, and secret key. The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.

Diagnostic: Does the receiving case instantiate Randomness extractor literally, co-instantiate Pattern, or only resemble it?

T6 — Autonomy versus reduction. is an explicit (k, ε)-extractor, if Ext(x, y) can be computed in polynomial time (in its input length) and for every n, Ext\(_n\) is a (k(n), ε(n))-extractor. The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.

Diagnostic: What does Randomness extractor distinguish that the broader parent Pattern leaves together?

Structural–Framed Character

Randomness extractor is mixed or framed-leaning. Its structural side is the repeatable organization summarized by A randomness extractor, often simply called an "extractor", is a function, which being applied to output from a weak entropy source, together with a short, uniformly random seed, generates a highly random output that appears independent from the source and uniformly distributed. Its framed side is the randomness extraction vocabulary that fixes the carrier, evidence, exceptions, and admissible transformations.

Evaluative weight: the identity can be stated descriptively even when applications carry practical stakes. Human-practice dependence: the source-grounded carrier determines whether the relation exists independently or is constituted by a practice. Institutional origin: disciplinary conventions stabilize the name and test. Vocabulary portability: The lemma is proved by examining the distance from uniform of the output, which in a \(2^{-m} \epsilon(n)\)-extractor obviously is at most \(2^{-m} \epsilon(n)\), which satisfies the condition of the APRF. Import versus recognition: literal transfer requires the same mechanism; shape alone is analogy.

Its portable skeleton is Pattern. Its character: a recurring specialist identity whose thin organization can be abstracted, while its operational meaning remains domain-bound.

Structural Core vs. Domain Accent

What is skeletal. A randomness extractor, often simply called an "extractor", is a function, which being applied to output from a weak entropy source, together with a short, uniformly random seed, generates a highly random output that appears independent from the source and uniformly distributed. The stable skeleton is the typed relation expressed in that definition and the entry's recognition and collapse tests. The source identifies these operative conditions: Additionally, this scheme allows for increased complexity, quality, and security of the output stream, controlled by specifying three parameters: time cost, memory required, and secret key. is an explicit (k, ε)-extractor, if Ext(x, y) can be computed in polynomial time (in its input length) and for every n, Ext\(_n\) is a (k(n), ε(n))-extractor. It further constrains recognition and variation through: The lemma is proved by examining the distance from uniform of the output, which in a \(2^{-m} \epsilon(n)\)-extractor obviously is at most \(2^{-m} \epsilon(n)\), which satisfies the condition of the APRF. The proof of this extractor's existence with \(\delta \leq 1\), as well as the fact that it is computable in linear computing time on the length of \(m\) can be found in the paper by Jesse Kamp and David Zuckerman (p.

What is domain-bound. randomness extraction supplies the operative entities, technical vocabulary, warrants, and exceptions that make Randomness extractor literal. Its documented scope includes the condition that Randomness extractors are used widely in cryptographic applications, whereby a cryptographic hash function is applied to a high-entropy, but non-uniform source, such as disk drive timing information or keyboard delays, to yield a uniformly random result. Another bounded application condition is that For this purpose Almost-Perfect Resilient Functions (APRF) are used. These are not decorative examples; they determine which carrier and evidence can fill the abstraction's roles.

Why no parent is asserted. Removing those specialist details does not currently yield one live catalog node that is a necessary genus for every instance. The entry is therefore approved as unparented rather than attached by topical resemblance. Its collapse evidence remains specific—Since we know \(\delta \leq 1\) then the lower bound on \(m\) is dominated by \(n\).—and future graph densification may discover a defensible relation only if it preserves that boundary.

  • Approved unparented node. No current live node supplies a defensible necessary genus or structural prerequisite for Randomness extractor. The reviewed identity is: A randomness extractor, often simply called an "extractor", is a function, which being applied to output from a weak entropy source, together with a short, uniformly random seed, generates a highly random output that appears independent from the source and uniformly distributed. The accelerated suggestion was declined because topical or lexical similarity does not establish hierarchy; the node is admitted without a parent pending later graph densification.
  • Related reasoning operations. Evidence, representation, comparison, classification, transformation, or evaluation may participate in particular cases, but participation does not make any one of them a necessary parent of every instance.

Neighborhood in Abstraction Space

Randomness extractor sits in a crowded region of the domain-specific corpus (39th percentile for distinctiveness): several abstractions share nearly its structure, so a description that fits it tends to fit its neighbors too.

Family — Computation Models & Complexity Classes (37 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

Not to Be Confused With

  • Pattern. The parent omits the specialist differentia. Tell: Can the case establish A randomness extractor, often simply called an "extractor", is a function, which being applied to output from a weak entropy source, together with a short, uniformly random seed, generates a highly random output that appears independent from the source and uniformly distributed?
  • Pseudorandom Number Generator. A deterministic seeded algorithm that evolves finite internal state or a keyed counter to emit a reproducible sequence engineered to meet specified statistical or computational unpredictability criteria. Tell: Which entry's carrier, operation, and failure condition are satisfied?
  • Random number generation. Produce symbols intended to be unpredictable or distributionally random by sampling physical entropy or evolving a deterministic pseudorandom state under an explicit seeding and output convention. Tell: Which entry's carrier, operation, and failure condition are satisfied?
  • Randomness Test. Challenge a sequence against a specified stochastic null using a pattern-sensitive statistic and calibrated rejection rule, while treating a pass only as failure to detect the tested departures. Tell: Which entry's carrier, operation, and failure condition are satisfied?
  • A measurement, proxy, or consequence. Those may provide evidence without being the identity. Tell: Would Randomness extractor remain present if the detector or downstream effect changed?
  • A metaphorical analogue. A similar shape outside randomness extraction lacks the specialist mechanism. Tell: Do the native roles transfer literally, or only the parent Pattern?

References

  • Frozen Wikipedia discovery revision: https://en.wikipedia.org/wiki/Randomness_extractor (revision 1332170652).