clock-rand 1.0.3

Next-generation random number generation with blockchain-aware RNGs, fork detection, and cryptographic security
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Custom blockchain-aware RNGs
//!
//! This module contains RNGs specifically designed for blockchain applications,
//! including fork detection and blockchain state seeding.

#[cfg(feature = "custom_rng")]
pub mod chainseed_x;
#[cfg(feature = "custom_rng")]
pub mod entrocrypt;
#[cfg(feature = "custom_rng")]
pub mod hashmix256;

#[cfg(feature = "custom_rng")]
pub use chainseed_x::ChainSeedX;
#[cfg(feature = "custom_rng")]
pub use entrocrypt::EntroCrypt;
#[cfg(feature = "custom_rng")]
pub use hashmix256::HashMix256;