nextAlphanumeric

Returns a random string of exactly length alphanumeric characters (a-zA-Z0-9).

Each character is chosen independently and uniformly at random from RandomAlphabets.ALPHANUMERIC. A length of zero yields the empty string.

Parameters

length

the number of characters to generate, must be non-negative.

Throws