Came across a useful code/password generator example for strong passwords at this site:
I needed a random token generator for unit tests I wrote, so I extended it to do the following:
- Generate Alphabetical Code
- Generate Alphabetical Lower Case Code
- Generate Alphabetical Upper Case Code
- Generate Numerical Code
The code can be easily extended to include other combinations and variations.