Preprint
Article

This version is not peer-reviewed.

A Universal, Provably Uniform Conditioning Framework via Negative Binomial Convergence

Submitted:

17 August 2026

Posted:

19 August 2026

You are already at the latest version

Abstract
Existing randomness conditioning methods face a fundamental dilemma: heuristic post-processing lacks rigorous mathematical uniformity guarantees, while provable seeded extractors require an independent perfectly uniform seed, merely shifting the trust assumption. We present a universal, mathematically certified conditioning framework that resolves this dilemma. For any NIST SP~800-90B ESV-certified entropy source, regardless of bias or implementation, our framework generates a provably uniform output stream without requiring any external seed or heuristic whitening. The core contribution is the Geometric Convergence Theorem (GCT), proving that the modular reduction of a negative binomial counting variable \( N_p \sim \mathrm{NB}(m, p) \)—where m denotes the required number of successes generated from fixed ESV entropy blocks via Bernoulli trials with success probability p—converges exponentially to uniformity over \( \mathbb{Z}_R \), with spectral radius \( \rho_{\mathrm{NB}} = p / \sqrt{p^2 + 4(1-p)\sin^2(\pi/R)} < 1 \). A Practical Entropy Budgeting mechanism ensures information-theoretic entropy conservation via a fixed input-output ratio. In a large-scale validation generating 100 MB of output from a biased ESV source (\( H_{\mathrm{in}} \) =3.32 bits/byte), the framework achieved Shannon entropy 7.999998 bits/byte and Min-Entropy 7.9936 bits/byte, approaching the theoretical lower bound of 7.9949 bits/byte to within 0.0013 bits/byte, with\( \chi^2 = 275.95 \) (df = 255). This establishes the first seedless, provable, and platform-agnostic conditioning framework for certified entropy sources.
Keywords: 
;  ;  ;  ;  ;  ;  

1. Introduction

The generation of certified randomness is a foundational requirement for modern cryptographic infrastructure. Quantum key distribution (QKD), post-quantum cryptographic (PQC) primitives, blockchain protocols, and secure communication systems all depend on high-quality entropy for key generation, nonces, and ephemeral parameters [1,2]. The security guarantees of these systems are only as strong as the randomness that seeds them.
Recent work on software-based entropy sources has demonstrated that high-quality randomness can be harvested from system-level phenomena such as microarchitectural timing jitter and combinatorial sorting processes. The Quantum Permutation Pad Random Number Generator (QPP-RNG) [3] showed that permutation sorting operations on commodity hardware produce raw outputs that pass NIST SP 800-90B statistical tests across diverse platforms. The Random Permutation Sorting System (RPSS) [4] provided a theoretical framework for this phenomenon, establishing that the permutation count follows a negative binomial distribution and that its modular reduction yields empirically uniform outputs. These observations raised a fundamental question: can we extract a provable mathematical principle from this physical behavior, and generalize it to any ESV-certified entropy source?
Existing approaches to random number generation fall into several categories, each with fundamental limitations:
Pseudorandom Number Generators (PRNGs) expand a small seed deterministically but rely entirely on external entropy to generate that seed. They are not self-sufficient entropy sources.
True Random Number Generators (TRNGs) and Quantum Random Number Generators (QRNGs) exploit physical stochasticity—thermal noise, oscillator jitter, single-photon detection, or vacuum fluctuations—to produce entropy [1]. However, raw physical outputs are almost invariably biased, correlated, or non-uniform, necessitating post-processing or conditioning to achieve statistical uniformity.
This conditioning step presents a critical vulnerability:
  • Heuristic approaches (e.g., SHA-256 hashing, AES-based whitening, von Neumann extraction) are empirically effective but lack rigorous mathematical guarantees. They rely on computational assumptions (for cryptographic hashing) or restrictive source models (for von Neumann, which requires IID inputs) [5,6].
  • Seeded extractors, such as those based on the Leftover Hash Lemma (LHL) [7,8], provide information-theoretic guarantees but require a short, independent, and perfectly uniform seed. This seed itself must come from an already-certified entropy source, creating a circular dependency that is often resolved by heuristic assumptions or additional hardware.
  • Deterministic extractors—which would eliminate the seed requirement—are known to be impossible for arbitrary high min-entropy sources [9]. No single deterministic function can map every possible high-entropy distribution to uniform output.
This landscape leaves a critical gap: Is there a way to achieve mathematically provable uniformity from a physical entropy source without requiring a separate uniform seed, and without relying on heuristic assumptions? The empirical success of QPP-RNG and RPSS suggests that such a framework may exist, but it requires a rigorous mathematical foundation that extends beyond the specific hardware implementations.

1.1. The NIST ESV Framework as a Bridge

NIST Special Publication 800-90B [10] establishes a rigorous framework for Entropy Source Validation (ESV). An ESV-certified source provides a conservative, worst-case estimate of its min-entropy H in (bits/byte), derived from statistical tests that quantify predictability under the most adversarial interpretation of the data. Similar frameworks, such as the German BSI AIS 20/31 standard [11], provide complementary methodologies for RNG evaluation, underscoring the global importance of certified entropy sources.
Critically, ESV certification provides a structural guarantee: it confirms that the entropy source is non-degenerate—that is, it possesses genuine, irreducible physical unpredictability. This guarantee, while statistical in nature, is sufficient to form the foundation for a mathematically rigorous conditioning module.

1.2. Our Contribution: A Seedless, Provable Conditioning Framework

In this work, we present a universal conditioning framework that bridges ESV certification with information-theoretic uniformity guarantees. Building on the insights from RPSS—where the permutation count’s negative binomial distribution and its modular convergence to uniformity were observed empirically—we elevate this phenomenon to a general mathematical theorem. Our approach is built on three pillars:
1.
The Geometric Convergence Theorem (GCT): For any ESV-certified non-degenerate source, the modular residue Y = N p mod R of a negative binomial counting variable N p NB ( m , p ) converges exponentially to the uniform distribution over Z R . The convergence rate is governed by a closed-form spectral radius ρ NB < 1 that depends only on p and R.
2.
Practical Entropy Budgeting: We provide a simple, rigorous entropy accounting mechanism: each symbol consumes L = log 2 R / H in + C input bytes, where R = 16 is the internal symbol size and C 1 is a configurable safety margin. This guarantees L · H in > log 2 R , satisfying information-theoretic entropy conservation.
3.
Efficient Mathematical Sampling: The negative binomial counting process is realized via deterministic Bernoulli trials simulated from ESV-seeded entropy blocks. The implementation is platform-agnostic, requires no hardware calibration, and achieves high throughput through pure integer operations. The sampler can be instantiated with any deterministic PRNG (e.g., LCG, ChaCha20) without affecting the GCT proof.

1.3. Comparison with Existing Approaches

Table 1 positions our Negative Binomial Conditioner (NBC) framework against heuristic whitening, seeded extractors, and deterministic extractors. Unlike seeded extractors, our approach requires no external seed; unlike heuristic methods, it provides mathematically provable uniformity; and unlike deterministic extractors, it is applicable to all ESV-certified sources with any positive min-entropy. This combination makes it the first seedless, provable, and platform-agnostic conditioning solution for NIST-compliant entropy sources.

1.4. Paper Organization

Section 2 presents the mathematical foundations. Section 3 introduces the entropy budgeting mechanism and conditioning algorithm. Section 4 provides empirical validation. Section 5 discusses implications. Section 6 concludes.

2. Theory of Provable Uniformity

We establish a rigorous mathematical framework for transforming non-degenerate entropy into certified uniform randomness. The core object is the Negative Binomial distribution, which arises naturally when counting trials until a fixed number of successes in a sequence of independent Bernoulli experiments.

2.1. The Negative Binomial Distribution

Let { B i } i = 1 be a sequence of independent Bernoulli trials with success probability p ( 0 , 1 ) . Define the random variable N p as the total number of trials required to observe exactly m successes:
N p = inf n m : i = 1 n B i = m .
Then N p follows the negative binomial distribution under the total-trials parameterization, with probability mass function:
Pr ( N p = n ) = n 1 m 1 p m ( 1 p ) n m , n = m , m + 1 ,
and probability generating function:
G N p ( z ) = p z 1 ( 1 p ) z m .
The expectation is E [ N p ] = m / p and the variance is Var ( N p ) = m ( 1 p ) / p 2 .

2.2. The Geometric Convergence Theorem

We now state and prove our main theorem: the modular reduction of a negative binomial random variable converges exponentially to uniformity. The proof employs discrete Fourier inversion over the cyclic group Z R , a standard technique for analyzing convergence to uniform distributions on finite groups [14]. This theorem generalizes the empirical observations of modular convergence in the RPSS framework [4] to any process that generates a negative binomial counting variable.
Theorem 1.
Geometric Convergence to Uniformity. Let N p NB ( m , p ) with 0 < p < 1 . For any integer modulus R 2 , define the spectral radius:
ρ NB max 1 r R 1 p e i 2 π r / R 1 ( 1 p ) e i 2 π r / R .
Then ρ NB < 1 , and the distribution of Y = N p mod R satisfies:
max 0 k < R Pr ( Y = k ) 1 R R 1 R ρ NB m .
Proof. 
The characteristic function of N p is:
ϕ N p ( ω ) = p e i ω 1 ( 1 p ) e i ω m .
For the modular variable Y = N p mod R , the probability mass function is given by the discrete Fourier inversion formula:
Pr ( Y = k ) = 1 R r = 0 R 1 e i 2 π r k / R ϕ N p 2 π r R .
The r = 0 term equals 1 / R since ϕ N p ( 0 ) = 1 . Thus:
Pr ( Y = k ) = 1 R + 1 R r = 1 R 1 e i 2 π r k / R ϕ N p 2 π r R .
Taking absolute values and applying the triangle inequality:
Pr ( Y = k ) 1 R 1 R r = 1 R 1 ϕ N p 2 π r R .
For each r = 1 , , R 1 :
ϕ N p 2 π r R = p e i 2 π r / R 1 ( 1 p ) e i 2 π r / R m ρ NB m .
Therefore:
Pr ( Y = k ) 1 R R 1 R ρ NB m .
Taking the maximum over k completes the proof.    □

2.3. Closed-Form Spectral Radius

The spectral radius can be expressed in closed form.
Lemma 1.
For 0 < p < 1 and R 2 ,
ρ NB = p p 2 + 4 ( 1 p ) sin 2 ( π / R ) .
Proof. 
For r = 1 , , R 1 ,
p e i θ 1 ( 1 p ) e i θ 2 = p 2 1 2 ( 1 p ) cos θ + ( 1 p ) 2 .
Using 1 cos θ = 2 sin 2 ( θ / 2 ) , the denominator becomes:
1 2 ( 1 p ) cos θ + ( 1 p ) 2 = p 2 + 4 ( 1 p ) sin 2 ( θ / 2 ) .
The maximum occurs at θ = 2 π / R , yielding the stated expression.    □
With our recommended parameters p = 0.04 , R = 16 , and m = 4 :
ρ NB = 0.04 0.0016 + 4 ( 0.96 ) sin 2 ( π / 16 ) 0.1041 .
The deviation bound is:
15 16 × ( 0.1041 ) 4 1.10 × 10 4 .

2.4. Min-Entropy Bound for Single Symbol

Theorem 2
(Min-Entropy Bound). For a single symbol Y = N p mod R with N p NB ( m , p ) ,
H min ( Y ) log 2 R log 2 1 + ( R 1 ) ρ NB m .
Proof. 
From Theorem 1,
max k Pr ( Y = k ) 1 R ( 1 + ( R 1 ) ρ NB m ) .
Since H min ( Y ) = log 2 ( max k Pr ( Y = k ) ) , the result follows.    □
For R = 16 , p = 0.04 , m = 4 :
H min ( Y ) 4 log 2 ( 1 + 15 × ( 0.1041 ) 4 ) 3.9975 bits / symbol .
Remark 1.
For the byte-level output in our optimized implementation (two symbols packed into one byte), the two symbols are generated from non-overlapping segments of the same LCG sequence. While they are not unconditionally independent, their marginal distributions are each guaranteed by Theorem 2. We conservatively use the single-symbol bound H min ( byte ) 3.9975 bits/byte as the theoretical lower bound. Empirical measurements (Section 4) demonstrate that the byte-level Min-Entropy significantly exceeds this conservative bound, approaching the ideal value of 8 bits/byte in large-scale validation.

3. Entropy Budgeting and Conditioning Algorithm

We now present the complete conditioning framework, which we refer to as the Negative Binomial Conditioner (NBC).

3.1. Entropy Source Model

Let the ESV-certified entropy source provide raw bytes with min-entropy H in bits/byte, established through NIST SP 800-90B statistical testing [10]. The source may be biased, correlated, or non-stationary.

3.2. Entropy Budgeting

For each output byte, we generate two 4-bit symbols. The entropy budget is defined per symbol:
L = log 2 R H in + C ,
where R = 16 and C 1 is a configurable safety margin.
This ensures that each symbol receives L · H in > log 2 R = 4 bits of input entropy. Consequently, each output byte (comprising two symbols) receives:
2 L · H in > 8 bits
of input entropy, satisfying byte-level entropy conservation.
For example, with H in = 2.57 bits/byte and C = 3 :
L = 4 2.57 + 3 = 2 + 3 = 5 bytes per symbol .
Each output byte consumes 2 L = 10 bytes of ESV input, providing 10 × 2.57 = 25.7 bits of input entropy for 8 bits of output.

3.3. The Conditioning Algorithm

The complete conditioning procedure is specified in Algorithm 1. A fixed block of L × N bytes is read from the ESV source and partitioned into N independent L-byte sub-blocks. Each sub-block seeds a 64-bit LCG. From each seed, two 4-bit symbols are generated using non-overlapping segments of the LCG sequence, then packed into one output byte.
Each symbol is generated by simulating independent Bernoulli trials with success probability p until exactly m successes are observed, recording the total number of trials N p . The output is Y = N p mod R . By construction, each N p NB ( m , p ) , and Theorem 1 guarantees the marginal uniformity of each symbol.
Algorithm 1 Negative Binomial Conditioner (NBC)
Require:  ESV _ Source , m = 4 , p = 0.04 , R = 16 , N bytes, C 1
Ensure: Output N bytes B 1 , , B N
  1:
L log 2 R / H in + C
  2:
seed _ block ESV _ Source . read ( L × N )
  3:
threshold p · 2 32
  4:
for  i = 1 to N do
  5:
     seed bytes _ to _ seed ( seed _ block [ ( i 1 ) L : i L ] )
  6:
    Initialize LCG with seed
  7:
    Generate first 4-bit symbol Y 1 (using first segment):
  8:
     successes 0 , trials 0
  9:
    while  successes < m  do
10:
         u LCG . next ( )
11:
        if  u < threshold  then
12:
            successes successes + 1
13:
        end if
14:
         trials trials + 1
15:
    end while
16:
     Y 1 trials mod R
17:
    Generate second 4-bit symbol Y 2 (using second, non-overlapping segment):
18:
     successes 0 , trials 0
19:
    while  successes < m  do
20:
         u LCG . next ( )
21:
        if  u < threshold  then
22:
            successes successes + 1
23:
        end if
24:
         trials trials + 1
25:
    end while
26:
     Y 2 trials mod R
27:
     B i ( Y 1 4 ) Y 2 ▹ Pack into one byte
28:
end for
29:
return  B 1 , , B N

3.4. Practical Considerations

The GCT framework is agnostic to the specific PRNG implementation, requiring only that the Bernoulli trials are simulated from a deterministic expander with sufficient output uniformity. In our implementation, we use a standard 64-bit LCG for its speed and simplicity.
LCGs are known to exhibit linear correlations in higher-dimensional spaces (the spectral test problem), which may introduce minor structure in the joint distribution of multiple symbols generated from the same seed. However, this does not affect the marginal uniformity of each 4-bit symbol as guaranteed by Theorem 1. For applications requiring strict byte-level information-theoretic uniformity, the LCG can be replaced with a cryptographically secure PRNG (e.g., ChaCha20 or AES-CTR) without altering the GCT proof, as the theorem only relies on the negative binomial counting process. The LCG serves as an efficient expansion primitive for statistical validation; its deterministic nature does not invalidate the GCT proof because the proof depends on the distribution N p NB ( m , p ) , not on the physical independence of the Bernoulli trials.
The two segments are consecutive blocks of the LCG sequence. For m = 4 and p = 0.04 , each symbol generation consumes approximately E [ N p ] = 100 LCG outputs, so the two segments are separated by roughly 100 outputs. The 64-bit LCG has a period of 2 64 , far exceeding the total number of outputs consumed in any practical run.

3.5. Parameter Selection

Table 2. Recommended parameters for optimized byte output.
Table 2. Recommended parameters for optimized byte output.
Parameter Value Rationale
p 0.04 p R = 0.64 2 π , fast convergence
m 4 ρ 0.1041 ; deviation 1.10 × 10 4
E [ N p ] 100 Fast (integer operations)
L (per symbol) 4 / H in + C Entropy conservation with safety margin
Symbols per byte 2 Packed from one LCG seed (non-overlapping segments)
LCG period 2 64 Far exceeds practical output requirements

4. Empirical Validation

We implemented the NBC algorithm on commodity hardware and evaluated its statistical properties across a range of ESV source qualities, with bias from 0.55 to 0.85 ( H in from 6.90 to 1.88 bits/byte).

4.1. Experimental Setup

  • Platform: 12th Gen Intel Core i5-1240P, 16 GB RAM, Windows 11 Pro (UCRT64 environment)
  • Core Parameters: p = 0.04 , R = 16 , m = 4
  • Input Size: Up to 1 GB for large-scale validation
  • Metrics: Shannon entropy, Min-Entropy (MCV), Pearson χ 2 (df=255)
  • Optimization: Each LCG seed is independently derived from a fixed-length ESV entropy block of L bytes. From each seed, two 4-bit symbols are generated using non-overlapping segments of the LCG sequence and packed into one output byte.
  • Efficiency: η = 8 / ( 2 L · H in ) × 100 % for byte-level output

4.2. Results

Table 3 presents the results across all tested configurations.
Efficiency is calculated as η = 8 / ( 2 L · H in ) × 100 % . For bias = 0.85 with C = 3 , the χ 2 value (380.6) exceeds the 5% critical value (approximately 290), indicating that the safety margin is insufficient for this extreme bias. Increasing C to 4 restores statistical uniformity ( χ 2 = 232.7 ). This demonstrates that C serves as an effective tuning parameter for low-entropy sources.

4.3. Scaling Behavior

For bias = 0.75 ( H in = 3.32 bits/byte, L = 5 ), we performed experiments at three scales:
Table 4. Min-Entropy convergence with sample size (bias = 0.75).
Table 4. Min-Entropy convergence with sample size (bias = 0.75).
Output Size Bytes Generated Min-Entropy (bits/byte) χ 2 Gap to Theory
1 MB 1.0 M 7.94 ∼247 0.0549
8 MB 8.0 M 7.971 241.40 0.0239
100 MB 100.0 M 7.9936 275.95 0.0013
Theoretical Limit 7.9949 255 0
The Min-Entropy estimate tends toward the theoretical lower bound as sample size increases, with the gap reducing from 0.0549 to 0.0013 bits/byte, confirming the consistency of the MCV estimator.

4.4. NIST SP 800-90B Estimates

Table 5. NIST SP 800-90B min-entropy estimates (bias = 0.80, H in = 2.57 , L = 5 ).
Table 5. NIST SP 800-90B min-entropy estimates (bias = 0.80, H in = 2.57 , L = 5 ).
Test Min-Entropy (bits/byte) Pass/Fail
MCV 7.94 Pass
Collision 7.94 Pass
Markov 7.94 Pass
LZ78 7.94 Pass
Theoretical Bound 7.995
All empirical estimates exceed 7.9 bits/byte, well above NIST requirements.

4.5. Performance

We evaluated the throughput of the NBC implementation on a 12th Gen Intel Core i5-1240P processor (3.3 GHz, Windows 11 Pro) using the same parameters ( p = 0.04 , m = 4 , R = 16 ) and ESV source quality ( H in = 3.32 bits/byte) as the statistical validation. The measurement excluded file I/O to isolate the algorithm’s core performance.
Table 6. Performance of the NBC algorithm (32-byte key).
Table 6. Performance of the NBC algorithm (32-byte key).
Metric Value
Output throughput 1.2 MB/s
Keys per second ∼40,000
Time per 32-byte key ∼24 μ s
These results demonstrate that the framework is practically deployable for cryptographic key generation and other randomness-intensive applications, while providing information-theoretic uniformity guarantees that heuristic methods cannot offer.

4.6. Summary of Findings

1.
Universal Applicability: Uniform output across H in from 6.90 to 1.88 bits/byte, with appropriate parameter selection.
2.
Optimization Validated: Two symbols per seed (non-overlapping LCG segments) doubles output without quality loss.
3.
Theoretical Alignment: 100 MB validation shows gap of only 0.0013 bits/byte to theory.
4.
Parameter Flexibility: C provides tunable trade-off between quality and efficiency; C = 4 is required for bias = 0.85 ( H in = 1.88 ) to achieve statistical uniformity.

5. Discussion

5.1. Deterministic Extraction Impossibility

A classical result in information theory states that no deterministic function can extract uniform randomness from every high min-entropy source [9]. Our framework does not contradict this theorem.
The impossibility result applies to arbitrary distributions with high min-entropy—including adversarially constructed distributions that place all probability mass on inputs mapping to a single output. This is a fundamental limitation for deterministic extractors targeting purely abstract sources [12]. For structured sources with multiple independent components, multi-source extractors can achieve seedless extraction [13].
Our framework operates on a restricted but practically important class of sources: those that have passed ESV certification. ESV certification rules out adversarial constructions by requiring the source to be physical and non-degenerate. For this restricted class, the existence of a positive, fixed p ( 0 , 1 ) —and thus a spectral radius ρ NB < 1 —is guaranteed.
Thus, our result is fully compatible with the impossibility theorem: we prove universality over ESV-certified non-degenerate physical sources, not over all abstract high-entropy distributions.

5.2. Entropy Sovereignty

The framework enables standard computing platforms to generate certified randomness internally, reducing reliance on specialized hardware and external entropy dependencies.

5.3. Limitations and Future Work

Limitations:
  • Low H in sources require larger L, reducing throughput.
  • LCG determinism may exhibit lattice structure in higher-dimensional joint distributions. While this does not affect the marginal uniformity of each symbol, users requiring strict joint uniformity can substitute the LCG with a cryptographically secure PRNG (e.g., ChaCha20 or AES-CTR) without affecting the GCT proof.
  • Output quality depends on accurate ESV entropy estimation; the safety margin C provides a practical safeguard.
Future work:
  • Adaptive parameter optimization based on real-time ESV source characterization.
  • Post-quantum security evaluation.
  • Hardware acceleration for ultra-high-throughput applications.
  • Integration with the NIST SP 800-90B entropy assessment toolchain.

6. Conclusions

We have presented a universal, provably uniform conditioning framework for certified entropy sources. The Geometric Convergence Theorem establishes that modular reduction of a negative binomial variable converges exponentially to uniformity. A Practical Entropy Budgeting mechanism ensures entropy conservation. Our optimized implementation, the Negative Binomial Conditioner (NBC), generates two 4-bit symbols from a single LCG seed using non-overlapping segments, packing them into one output byte. Each symbol’s marginal uniformity is guaranteed by the GCT; byte-level uniformity is empirically validated.
Empirical validation across H in from 6.90 to 1.88 bits/byte confirms the theoretical predictions. In a 100 MB validation, the framework achieved Min-Entropy 7.9936 bits/byte, approaching the theoretical bound of 7.9949 bits/byte. The safety margin C provides a tunable trade-off between statistical quality and entropy efficiency, with C = 4 required for extreme bias ( H in = 1.88 ) to achieve statistical uniformity.
This work establishes a new paradigm: seedless, provable, and platform-agnostic entropy conditioning, enabling what may be termed entropy sovereignty—the capacity to generate certified uniform randomness internally, without reliance on specialized hardware or external entropy dependencies.

Acknowledgments

The author acknowledges the use of Deepseek for language refinement and editorial assistance. Scientific analyses and conclusions remain the sole responsibility of the author.

Conflicts of Interest

R.K. is a co-founder and Chief Scientist of Quantropi Inc., a company developing post-quantum cryptographic technologies. He is an inventor on patents related to entropy-based cryptographic primitives and conditioning frameworks that may be relevant to this work. No external funding was received for this study.

References

  1. Herrero-Collantes, M.; Garcia-Escartin, J.C. Quantum random number generators. Rev. Mod. Phys. 2017, 89, 015004. [Google Scholar] [CrossRef]
  2. Menezes, A.J.; van Oorschot, P.C.; Vanstone, S.A. Handbook of Applied Cryptography; CRC Press: Boca Raton, FL, 1997. [Google Scholar]
  3. Kuang, Y.R. QPP-RNG: A conceptual quantum system for true randomness. Phys. Rev. E 2025, 112, 055309. [Google Scholar] [CrossRef] [PubMed]
  4. Kuang, R. Statistical quantum mechanics of the random permutation sorting system: A self-stabilizing true uniform random number generator. Phys. Rev. E 2026, 113, 024117. [Google Scholar] [CrossRef] [PubMed]
  5. Shrimpton, T.; Terashima, R.S. A Provable Security Analysis of Intel’s Secure Key RNG. Cryptol. ePrint Arch. 2014, Paper 2014/504. [Google Scholar]
  6. Schindler, W.; Killmann, W. Evaluation Criteria for True (Physical) Random Number Generators Used in Cryptographic Applications. In Proceedings of the Cryptographic Hardware and Embedded Systems (CHES); 2002; pp. 431–449. [Google Scholar] [CrossRef] [PubMed]
  7. Impagliazzo, R.; Levin, L.A.; Luby, M. Pseudo-random generation from one-way functions. In Proceedings of the Proceedings of the 21st Annual ACM Symposium on Theory of Computing (STOC), 1989; pp. 12–24. [Google Scholar] [CrossRef]
  8. Vadhan, S.P. Pseudorandomness; Vol. 7, Foundations and Trends in Theoretical Computer Science; 2012; pp. 1–336. [Google Scholar] [CrossRef]
  9. Goldreich, O. Foundations of Cryptography: Volume 2, Basic Applications; Cambridge University Press: Cambridge, UK, 2004; Volume 2. [Google Scholar]
  10. Turan, M.S.; Barker, E.B.; Kelsey, J.M.; McKay, K.A.; Baish, M.L.; Boyle, M. Recommendation for the Entropy Sources Used for Random Bit Generation. Technical Report Special Publication 800-90B; National Institute of Standards and Technology, 2018. [Google Scholar] [CrossRef]
  11. Killmann, W.; Schindler, W. A proposal for: Functionality classes for random number generators. Technical report, 2011; BSI (Bundesamt für Sicherheit in der Informationstechnik). [Google Scholar]
  12. Santha, M.; Vazirani, U.V. Generating quasi-random sequences from semi-random sources; 1986; Vol. 33, pp. 75–87. [Google Scholar] [CrossRef]
  13. Barak, B.; Impagliazzo, R.; Wigderson, A. Extracting randomness using few independent sources. SIAM J. Comput. 2006, 36, 1095–1138. [Google Scholar] [CrossRef]
  14. Diaconis, P. Group Representations in Probability and Statistics; Vol. 11, Lecture Notes-Monograph Series; Institute of Mathematical Statistics, 1988. [Google Scholar]
Table 1. Comparison of conditioning approaches (HW: Heuristic Whitening, SE: Seeded Extractor, DE: Deterministic Extractor).
Table 1. Comparison of conditioning approaches (HW: Heuristic Whitening, SE: Seeded Extractor, DE: Deterministic Extractor).
Property HW SE DE NBC (Ours)
Requires external seed No Yes No No
Mathematically provable No Yes Impossible * Yes
Applicable to any ESV source Yes Yes No Yes
Platform agnostic Yes Yes N/A Yes
Entropy accounting Complex/Consv. Clear N/A Clear
* For arbitrary high min-entropy sources (classical impossibility result) [9]. For structured sources with physical promises, seedless extraction is possible [12,13].
Table 3. Experimental results across ESV source qualities.
Table 3. Experimental results across ESV source qualities.
Bias H in (bits/byte) C L (per symbol) Min-Entropy (bits/byte) χ 2 Efficiency
0.55 6.90 2 3 7.94 288.7 19.3%
0.60 5.90 3 4 7.93 262.5 16.9%
0.75 3.32 3 5 7.95 267.5 24.1%
0.85 1.88 3 6 7.83 380.6 35.5%
0.85 1.88 4 7 7.92 232.7 30.4%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.