I need to generate a unique 8 character string from a sequential integer (0, 1, 2, 3, etc).
I tried hashing the int with md5/sha256/sha512 and then shortening it to 8 characters but there are quite a lot of collisions which I want to try and avoid if possible.
I've looked into algorithms such as crc32 but the hash produced from that contains too many numbers for my liking.
Can anybody suggest an alternative method of doing what I need?