pub fn random_numeric(len: usize) -> Result<String>Available on crate feature
tier3 only.Expand description
Generate a cryptographically-secure ASCII numeric string (0-9)
of exactly len characters. Leading zeros may appear.
§Example
use mod_rand::tier3;
let s = tier3::random_numeric(6)?;
assert_eq!(s.len(), 6);