GUID Generators for non-Windows systems?

Olivier Dagenais olivierS.dagenaisP at canadaA.comM
Sun Nov 5 15:46:53 CET 2000


This "security feature" made me think of MD5, which also happens to be a
16-byte number.  I don't know what Mike (the original poster) was looking
for, but you could probably build a 16-byte string that looks like a GUID by
using the PC's MAC address, IP address, serial number, time, etc..  It
doesn't matter what you feed MD5, it will always produce a 16-byte string...

--
----------------------------------------------------------------------
Olivier A. Dagenais - Software Architect and Developer
"Someone called 'Type your name here' is impersonating me on the
internet and is posting exactly the same things I am posting!"


<jay.krell at cornell.edu> wrote in message
news:mailman.973393154.10789.python-list at python.org...
> > I'm not sure what windows does when there is no ethernet card, but
falling
> > back on a high-precision timestamp or random generated guid would only
be
>
> MSDN October 2000 tells us:
>
> UuidCreate
> "For security reasons, it is often desirable to keep ethernet/token ring
> addresses on networks from becoming available outside a company or
> organization. In Windows 2000, the UuidCreate function generates a UUID
that
> cannot be traced to the ethernet/token ring address of the computer on
which
> it was generated. It also cannot be associated with other UUIDs created on
> the same computer. If you do not need this level of security, your
> application can use the UuidCreateSequential function, which behaves
exactly
> as the UuidCreate function does on all other versions of the operating
> system.






More information about the Python-list mailing list