openentropy-core
Core Rust library for OpenEntropy.
openentropy-core provides entropy collection, conditioning, and analysis:
- Source discovery (
detect_available_sources) - Multi-source pool (
EntropyPool) - Output conditioning (
raw,von_neumann,sha256) - Health reporting and source metadata
- Statistical analysis (
full_analysis,spectral_analysis,bit_bias, ...) - Differential comparison (
compare,two_sample_tests,cliffs_delta, ...) - PEAR-style trial analysis (
trial_analysis,stouffer_combine,calibration_check)
Install
[]
= "0.10"
Example
use ;
// Collect entropy
let pool = auto;
let bytes = pool.get_random_bytes;
// Analyze
let analysis = full_analysis;
println!;
// Compare two streams
let other = pool.get_random_bytes;
let diff = compare;
println!;