pub fn digit(base: u32) -> char
Generates a random digit in the given base.
base
Digits are represented by chars in ranges 0-9 and a-z.
char
Panics if the base is zero or greater than 36.