Re: Is randomblob(16) a good guid generation a cross multiple computers?

"Keith Medcalf" <[email protected]> Thu, 20 Feb 2020 22:39:42 -0700
Newsgroups gmane.comp.db.sqlite.general
Organization This Side Up
Message-ID <[email protected]>
On Thursday, 20 February, 2020 22:06, Andy KU7T <[email protected]> wrote:

>I admit I do not fully understand all the arguments. I am running on
>Windows. Are you saying the PRNG on Windows is not good enough to use
>randomblob(16) in Sqlite? All I need is a reasonable assurance that is
>are unique...

Yes, it is reasonably random.  To improve the entropy of the seed you should compile the amalgamation with -DSQLITE_WIN32_USE_UUID=1 and include RPCRT4.LIB in the link.

-- 
The fact that there's a Highway to Hell but only a Stairway to Heaven says a lot about anticipated traffic volume.




_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users