in reply to Re^2: Question: Generate unique/random 12-digit keys for 25,000K records, howto??
in thread Question: Generate unique/random 12-digit keys for 25,000K records, howto??
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Question: Generate unique/random 12-digit keys for 25,000K records, howto??
by kyle (Abbot) on Apr 30, 2008 at 21:29 UTC | |
|
Re^4: Question: Generate unique/random 12-digit keys for 25,000K records, howto??
by shmem (Chancellor) on Apr 30, 2008 at 21:36 UTC | |
|
Re^4: Question: Generate unique/random 12-digit keys for 25,000K records, howto??
by mscharrer (Hermit) on Apr 30, 2008 at 21:22 UTC | |
by carol (Beadle) on Apr 30, 2008 at 22:04 UTC |