Hi, folks:
I am maintaining a long list of 20M records, the unique key in this table contains multiple fields and now I need to setup an ID (not sequential numbers, need randomness) for each of these unique records. Currently I am using a sub-string of hexadecimal generated by SHA1 method. This is OK except that the length of ID is too long in order to keep the uniqueness. Is there a way/method in Perl that I can transfer the 20-byte hexadecimal into a shorter string contains [0-9a-z](case insensitive)?
many thanks..
lihao
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |