bitwarden_generators::username

Function random_number

Source
fn random_number(rng: impl RngCore) -> String
Expand description

Generate a random 4 digit number, including leading zeros