Although this is fit for 99% of people's purposes, I would be careful
about expecting randomSeed or multiple samples to actually improve the
underlying random algorithm.
For sake of a silly example, suppose you had a "bad" random algorithm
which only returns even numbers. No matter how many samples and seeds
you took, you'd still have a hard time generating odd numbers.
Point being, using a random() function many times doesn't necessarily
make it of better quality for crypto or other serious purposes. It
just makes it slightly more obscure to the human eye.
Mark Brownell wrote:
I'm surprised that the random seed was not mentioned.
Me too. Wouldn't it suffice to do this before each run?:
set the randomSeed to random(4570422)
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution