CLI
The openentropy CLI provides command-line access to entropy sources, analysis tools, and real-time monitoring.
Installation
Section titled “Installation”cargo install openentropy-cliQuick Examples
Section titled “Quick Examples”Discover entropy sources on your machine:
openentropy scanBenchmark all fast sources:
openentropy benchOutput 256 random hex bytes:
openentropy stream --format hex --bytes 256Live TUI dashboard with real-time monitoring:
openentropy monitorSecurity audit with NIST test battery:
openentropy analyze --profile securityResearch-grade analysis with cross-correlation:
openentropy analyze --profile deepAnalysis Profiles
Section titled “Analysis Profiles”Profiles are convenience presets that configure multiple flags at once. Choose the profile that matches your use case:
| Profile | Audience | Samples | Conditioning | Entropy | NIST Report | Cross-Corr | Trials | Chaos |
|---|---|---|---|---|---|---|---|---|
quick | Any | 10,000 | raw | — | — | — | — | — |
standard | Any (default) | 50,000 | raw | — | — | — | — | — |
deep | Research | 100,000 | raw | ✓ | — | ✓ | ✓ | ✓ |
security | Security | 50,000 | sha256 | ✓ | ✓ | — | — | — |
For detailed explanations of each analysis category (forensic, entropy, chaos, trials, cross-correlation), interpretation guides, and the verdict system, see Analysis System.
Security engineers use the security profile to validate entropy quality and seed CSPRNGs:
openentropy analyze --profile security --output audit.mdResearchers use the deep profile to study raw noise characteristics:
openentropy analyze --profile deep --output analysis.jsonFull CLI Reference
Section titled “Full CLI Reference”For complete command documentation, examples, and advanced options, see the Full CLI Reference.