pub fn digit(base: u32) -> char
Available on crate feature
std
only.Expand description
Generates a random digit in the given base
.
Digits are represented by char
s in ranges 0-9 and a-z.
Panics if the base is zero or greater than 36.