previously my boss gave me 8-digits, and when I used Digest::MD5, I got duplicated IDsIf you got duplicates in the output, you can be sure the list you used as input had duplicates also. Hashes like MD5 are designed to not produce collisions (different inputs producing same output).
In reply to Re^3: Question: Generate unique/random 12-digit keys for 25,000K records, howto??
by carol
in thread Question: Generate unique/random 12-digit keys for 25,000K records, howto??
by lihao
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |