Generate a random string with the specified length and charset.
Expected length of the random string
The characters set to use for generating the random string (all characters must be unique)
The generated random string
Generate a random string with the specified length and charset.