On Jan 2, 12:46 am, "Mark H." <[email protected]> wrote:
> I've written a pseudorandom number generator for arbitrarily large
> integers, as well as a number of other utilities for pseudorandom
> numbers.  

Other features:

* Function to generate a random seed, using either Java's SecureRandom
or your own entropy source (treated as a file -- e.g., /dev/random)
* Gratuitous comments (not so much inline) that explain the algorithms
and some potential pitfalls

btw the test code uses Java's PRNG (not (rand) -- it creates a new
java.util.Random object and calls the appropriate methods), but this
was only for testing convenience, and should not be construed as an
approval of said PRNG algorithm.

mfh


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to