Skip to content
openentropy logo

openentropy

Measure and operationalize hardware entropy for research and security.

Collect entropy from on-device hardware sources, analyze source quality with statistical tests, and deliver raw or conditioned output through CLI, Rust, Python, and HTTP interfaces.

One workflow for entropy research, validation, and cryptographic deployment.

Rust SDK

Use openentropy-core in your Rust projects. Full access to all 63 entropy sources, conditioning modes, and statistical analysis. Rust SDK →

Python SDK

Install via pip install openentropy. PyO3 bindings expose the full Rust API to Python with zero overhead. Python SDK →

CLI

cargo install openentropy-cli. Scan sources, stream bytes, run analysis, and monitor entropy in a live TUI dashboard. CLI →

Most random number generators are pseudorandom — deterministic algorithms seeded once. openentropy continuously harvests real physical noise from your hardware:

  • Thermal noise — three independent oscillator beats
  • Timing and microarchitecture — clock phase noise, DRAM row buffer conflicts, speculative execution variance
  • GPU and compute — GPU warp divergence, Neural Engine inference timing
  • Network and sensors — DNS resolution timing, TCP handshake variance, WiFi RSSI, BLE ambient RF

The pool XOR-combines independent streams. No single source failure can compromise the pool.