⚡ RNG Comparison Test Suite v1.1⚡

Compare ntrpRNG (Behavioral) vs cgRNDV (Pure Crypto) - Enhanced with Weighted Event Tracking
💡 ntrpRNG requires 500 weighted events (~5-10s interaction) â„šī¸ Event Weights:
â€ĸ Keyboard: ×3 (high entropy)
â€ĸ Mouse Down/Touch/Motion: ×2
â€ĸ Mouse Move/Scroll: ×1

Example: 100 keyboard + 200 mouse = 500 weighted events
đŸŽ¯ Collecting Entropy - Interact With Page!
0 / 500
KEYBOARD 0 weight: ×3
MOUSE 0 weight: ×1-2
TOUCH 0 weight: ×1-2
SCROLL 0 weight: ×1
OTHER 0 weight: ×2
0 Weighted Events
0 Events/sec
~0s Est. Time
💡 Tip: Use keyboard for fastest collection (×3 weight)
Information & Test Scales
RNG Types:
â€ĸ ntrpRNG v1.3.0: Behavioral entropy (weighted events) + crypto.getRandomValues() + salt + 5000 iterations
â€ĸ cgRNDV v1.1.0: Pure crypto.getRandomValues() only
â€ĸ Compare Both: Side-by-side statistical comparison

Weighted Event System (ntrpRNG):
â€ĸ Keyboard events: ×3 weight (highest entropy: timing + key choice)
â€ĸ Mouse down/Touch/Motion: ×2 weight (medium entropy)
â€ĸ Mouse move/Scroll: ×1 weight (basic entropy)
â€ĸ Target: 500 weighted events (hardcoded for security)
â€ĸ Example: 100 keyboard + 100 mouse down + 100 mouse move = 100×3 + 100×2 + 100×1 = 600 weighted events ✓

Quick Settings:
â€ĸ FAST: 1K iterations (testing/dev)
â€ĸ BALANCED: 5K iterations (recommended)
â€ĸ SECURE: 10K iterations (production)

Parameter Ranges:
â€ĸ Dataset Size (KB): 1 - 10240
â€ĸ Hash Iterations: 100 - 50000
â€ĸ Salt Size (bytes): 16 - 128

Test Quality Scales:
â€ĸ Shannon Entropy: 7.9-8.0=Excellent | 7.5-7.9=Good | 7.0-7.5=Fair | <7.0=Poor
â€ĸ Monobit/Runs: 0-1.0=Excellent | 1.0-2.0=Good | 2.0-3.0=Fair | >3.0=Poor
â€ĸ Chi-Square: <250=Excellent | 250-293.25=Good | 293.25-350=Fair | >350=Poor
â€ĸ Serial Correlation: <0.05=Excellent | 0.05-0.1=Good | 0.1-0.2=Fair | >0.2=Poor
â€ĸ Avalanche Effect: 45-55%=Excellent | 40-60%=Good | 35-65%=Fair | else=Poor

Security Notes:
â€ĸ ntrpRNG v1.3.0 uses hardcoded 500 minimum events (cannot be overridden)
â€ĸ Dual-path XOR fortification mixes behavioral + CSPRNG entropy
â€ĸ Asynchronous batching prevents UI blocking during 5000 iterations