Renamed to genstr to generalize function. A minor addition to generate strings from common restricted character sets.
From the original:
This is a very simple application which I built for use with various libraries.
I have borrowed code from the library by dchest called uniuri located here
because I thought that it was made quite well and succinctly