PEERFEAR Cryptographic Lab ← PeerFear Cryptographic RNG Audit Home
PRNG ENTROPY BENCHMARK

Mersenne Twister MT19937 PRNG Entropy Testing & Chi-Square Benchmarks

Evaluating state-space period length (2^19937 - 1), equidistribution in 623 dimensions, and hardware entropy reseeding intervals.

1. NIST SP 800-22 Statistical Test Suite Results

To qualify for production deployment in regulated environments, a Pseudo-Random Number Generator (PRNG) must pass all 15 sub-tests of the NIST SP 800-22 specification with a p-value ≥ 0.01:

NIST Test NameTarget Defect DetectedObserved p-ValueCompliance Status
Frequency (Monobit) TestGlobal bias toward 0s or 1s0.5482PASS
Block Frequency TestLocalized bit clustering0.4910PASS
Cumulative Sums (Cusum)Random-walk drift0.6124PASS
Approximate Entropy TestPredictable bit patterns0.5839PASS

Frequently Asked Questions (FAQ)

Q: What is the period length of the standard Mersenne Twister MT19937 algorithm?
MT19937 has an astronomical period of 2^19937 - 1, ensuring sequences never repeat within any practical computational timeframe.

Q: Why do certified laboratories combine MT19937 with hardware thermal noise?
Periodic reseeding from a physical True Random Number Generator (TRNG) prevents state-reconstruction attacks.

📚 Related Research & Core Directory