openentropy-core 0.12.3

Core entropy harvesting library — hardware noise sources, raw or SHA-256 conditioned
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod dns_timing;
mod tcp_connect;
mod wifi_rssi;

pub use dns_timing::DNSTimingSource;
pub use tcp_connect::TCPConnectSource;
pub use wifi_rssi::WiFiRSSISource;

use crate::source::EntropySource;

pub fn sources() -> Vec<Box<dyn EntropySource>> {
    vec![
        Box::new(DNSTimingSource::new()),
        Box::new(TCPConnectSource::new()),
        Box::new(WiFiRSSISource::new()),
    ]
}