Function digit

pub fn digit(base: u32) -> char

Generates a random digit in the given base.

Digits are represented by chars in range 0-9 and a-z.

Panics if the base is zero or greater than 36.