
Would it make any sense for uuid::create() to just use the OS's function, for OSes that can create uuids? (ie most OSes). Tony On 6/1/07, Peter Dimov <pdimov@mmltd.net> wrote:
Andy wrote:
I will look into using all of the randomness produced by the random digest helper function. I did look at the function mersenne_twister::seed(It& first, It last), but couldn't get it to work. I take another shot at it.
You'll need to do that if you go the static engine route.
An easier way to fix the current create() is just to return the digest as-is. A short sequence produced by a freshly seeded RNG is no more random than the seed; nothing is gained (in this case) by passing the digest through the engine.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost