[commits] Horde branch master updated. 87fcd562795bada4ea2101391f3ae1c0b5a90793
Chuck Hagenbuch
chuck at horde.org
Mon Sep 6 04:57:28 UTC 2010
The branch "master" has been updated.
The following is a summary of the commits.
from: 44aad5bf07fd17e52bb14a1523de9f7349384002
87fcd56 Unless I'm missing something, packing the mt_rand() result as an unsigned int doesn't lose any data but takes up predictably less space, letting us say that this is always a 24-char random id.
-----------------------------------------------------------------------
commit 87fcd562795bada4ea2101391f3ae1c0b5a90793
Author: Chuck Hagenbuch <chuck at horde.org>
Date: Mon Sep 6 00:53:14 2010 -0400
Unless I'm missing something, packing the mt_rand() result as an unsigned int
doesn't lose any data but takes up predictably less space, letting us say that
this is always a 24-char random id.
Also, rather than giving up randomness, use url-safe base64 encoding.
framework/Support/lib/Horde/Support/Randomid.php | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
http://git.horde.org/diff.php/framework/Support/lib/Horde/Support/Randomid.php?rt=horde-git&r1=f3d20c5b924efbd2ec6e3426c57cbaf8b5a34321&r2=87fcd562795bada4ea2101391f3ae1c0b5a90793
More information about the commits
mailing list