Boost logo

Boost :

From: Gottlob Frege (gottlobfrege_at_[hidden])
Date: 2007-06-01 21:15:38


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_at_[hidden]> 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
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk