>> AFAIK, UUID generation algorithm already includes a current time >> inside. Which means that your addition of date/time actually >> superfluous. >> >No. >The plugin (when it works) generates type 4 UUIDs, which is purely random >>bytes from dev/urandom (with some bitfields identifying version). >The fallback code uses current time as part of a PRNG seed, but also >attempts >to achieve a type 4 UUID.
If you are on Windows you can use Microsofts GUID. I wrapped them in http://www.squeaksource.com/COM.html as class COMGUID. They are unique in time and location so you need no additional date. If I remember correctly the UUID plugin for Windows used them directly as the underlying generation algorithm ... I also expected UUIDs (for instance if generated on Mac or Linux) as unique in time and location so it should not be possible to generate the same value at the same time on two different computers. Is this wrong? Bye T -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
