Skip to main content

generate_for_state

Function generate_for_state 

Source
pub fn generate_for_state(state: State) -> Cep
Expand description

Generates a random Cep within the range of a given state.

Each official segment is selected proportionally to its number of CEPs. This generation is not cryptographically secure.