Well, I need to save images with unique filenames and store the file names in the database. I used to do MD5 hash and save the image with the filename of value obtained by hash.
However I would like to cut down the unnecessary space usage from 32 characters to 10-12 characters.
I dont want to substr() the obtained md5 hash to 12 characters.
Rather than that is there a way to create a custom hash of 10-12 characters ?