string compaction in PHP
Posted: Mon Jun 20, 2005 10:14 am
Hi,
I have around 18 - 20 characters long IDs and I need to compact them, so that I could physically put them on the equipments and for that I need to know about any built-in or any other algorithm/function to use.
The algorithm should generate unique strings for unique IDs and must compact the original string to 5-10 characters.
any help would be truly appreciated.
Thanks in advance.
I have around 18 - 20 characters long IDs and I need to compact them, so that I could physically put them on the equipments and for that I need to know about any built-in or any other algorithm/function to use.
The algorithm should generate unique strings for unique IDs and must compact the original string to 5-10 characters.
any help would be truly appreciated.
Thanks in advance.