Skip to main content

SAMPLING_RNG_ALGORITHM_ID

Constant SAMPLING_RNG_ALGORITHM_ID 

Source
pub const SAMPLING_RNG_ALGORITHM_ID: &str = "chacha12-rand-core-pcg32-u64-v1";
Expand description

Stable request-local RNG used by every product sampling path.

rand::rngs::StdRng intentionally does not promise a portable algorithm. Naming the generator and seed expansion here makes seeded request replay an explicit Ferrum contract instead of an incidental dependency choice.