Skip to main content

generate_with_seed

Function generate_with_seed 

Source
pub fn generate_with_seed(seed: u64, uf: State) -> Result<Rg, RgError>
Expand description

Generate a deterministic valid RG from a seed.

SP only; other UFs return RgError::UnsupportedUfForGeneration. This generation is not cryptographically secure. Seed zero is accepted.