Mersenne Twister Seeding and UUIDs

2012-06-09 Thread Andrew Talbot
Forgive what may be the unintelligible ramblings of an ignorant hobbyist, but, if I am not mistaken, the Mersenne Twister implementation in std.random currently can be seeded only with a 32-bit unsigned integer, which I presume gives it 2^32 starting points, whereas I believe there should also b

Re: Mersenne Twister Seeding and UUIDs

2012-06-10 Thread Andrew Talbot
Andrew Talbot wrote: > which I presume gives it 2^32 starting points, whereas I believe there > should also be an alternative option to seed it with an array of up to 624 > uintS, so that potentially it can be started in any one of its 19,937 > internal states. Of course I meant &q

Re: Mersenne Twister Seeding and UUIDs

2012-06-13 Thread Andrew Talbot
Regarding the mass production of random UUIDs, I believe that one would have to provide a seed that was at least 128 bits (or 16 ubyteS) wide in order to have uniform probability of generating any one random UUID from the entire set of 2^128 possible values. (If I read the following web page [h