ircmaxell/RandomLib — pull request #15 by flip111 (2013-12-03 16:27:37+00:00)
Title: improved generateString: added presets for character sets

Turns the second parameter $characters into a mixed parameter. When passing in an Integer it will be treated as a flag. Relevant flags are available within the Generator class as constants.

Example:
```
$generator->generateString(16, Generator::LOWER_CASE | Generator::DIGITS);
```

Yields something similar to:
```
yofch5qkv2nx0oay
```