Skip to content

v0.2.0 - HybridMode Version

Latest

Choose a tag to compare

@medeirosdev medeirosdev released this 28 Dec 18:33
· 6 commits to main since this release
8a328d5

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

  • HybridTap class - PRNG seeded by true entropy
  • configure(mode="HYBRID", hybrid_reseed_interval=60.0) - Switch modes
  • get_tap() - Get current tap instance

Architecture

  • BaseTap abstract class for tap implementations
  • EntropyTap (DIRECT) and HybridTap (HYBRID) inherit from BaseTap

Documentation

  • Updated ARCHITECTURE.md with Operation Modes diagrams
  • Updated README.md with Hybrid Mode usage guide
  • Comprehensive demo script: examples/demo_comprehensive.py