How do you generate codes that should be 16 digits in length, unique, made up of 1-9, a-z and A-Z (case sensitive obviously so Abc1 is not the same as abc1) ex: Ahs78D7xkEshud45
I tried doing this but cannot seem to figure out the easiest way.
Thanks for your help!
If uniqueness isn’t of great importance, you can try this:
For a more unique alternative use a hash function: