[dev] Re: [cvs] commit: imp/lib Compose.php

Michael M Slusarz slusarz at mail.curecanti.org
Sat Sep 11 18:33:25 PDT 2004


Quoting Michael M Slusarz <slusarz at curecanti.org>:

> slusarz     2004-09-11 18:37:31 PDT
>
>   Modified files:
>     lib                  Compose.php
>   Log:
>   Reimplement truly random number generation for VFS storage.  Add a bit more
>   randomness to ensure the most random string possible (on my system, 
> mt_rand()
>   only generates 31 bytes of random data).
>
>   Revision  Changes    Path
>   1.101     +3 -3      imp/lib/Compose.php

My typo.  Obviously I meant 31 bits (2 ^ 31 = 2 billion and change).  
Since md5
sums are 120 bits, there is room for much more randomness.

michael

_______________________________________
Michael Slusarz [slusarz at curecanti.org]


More information about the dev mailing list