This release introduces Hybrid Mode, a high-performance operation mode that uses a PRNG (Mersenne Twister) periodically re-seeded with true entropy from the pool.
Highlights
- 83x faster than DIRECT mode (~5M ops/sec vs ~60K ops/sec)
- Automatic re-seeding every N seconds (configurable)
- Seamless mode switching via
configure(mode="HYBRID")
New Features
HybridTapclass - PRNG seeded by true entropyconfigure(mode="HYBRID", hybrid_reseed_interval=60.0)- Switch modesget_tap()- Get current tap instance
Architecture
BaseTapabstract class for tap implementationsEntropyTap(DIRECT) andHybridTap(HYBRID) inherit fromBaseTap
Documentation
- Updated ARCHITECTURE.md with Operation Modes diagrams
- Updated README.md with Hybrid Mode usage guide
- Comprehensive demo script:
examples/demo_comprehensive.py