On Tue, Apr 23, 2013 at 01:28:34PM -0500, Derek Martin wrote:
> This is an annoyingly hard problem.  

Incidentally, once you have identified a good source of random data,
the problem becomes easier.  For example, take some number of random
bits which is likely to be adequate (current implementations appear to
use 6 * ([A-Z][a-z][0-9]) = 62^6 ~= 2^36 possible combinations, which
seems like plenty), and base-64 encode that into a string.  Use that
as the random part of your file name.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.

Attachment: pgpIponQe5g6y.pgp
Description: PGP signature

Reply via email to