pub fn generate_token(length: usize) -> StringExpand description
Generate a random alphanumeric token of specified length.
Delegates to generate_secure_token internally — both use the same
cryptographically secure RNG (rand::rng()). Prefer
generate_secure_token in new code so callers handle errors explicitly.