Get down to a 23-char id. Discard the more_entropy from uniqid since it just comes...
authorChuck Hagenbuch <chuck@horde.org>
Tue, 7 Sep 2010 21:20:53 +0000 (17:20 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Tue, 7 Sep 2010 21:20:53 +0000 (17:20 -0400)
commitdd9c409ef39c829957604f14d184dfe0762aa4fa
tree8fc19bc392d691e6acda5269f8359f6721f6215d
parenta8c8b115608fda12c97045b39336f03d23d9c339
Get down to a 23-char id. Discard the more_entropy from uniqid since it just comes from the LCG; use mt_rand() instead. In addition, add some bits based on the hostname to help with uniqueness across hosts.
framework/Support/lib/Horde/Support/Randomid.php