[Prev][Next][Index][Thread]

Re: GUID algorithm



"Scott McKay" <swm@mediaone.net> writes:

> I remember that when Dan Weinreb did this for Statice he combined
> three quantities:
>  - the machine's serial number (you could also use the IP address of
>    it's Ethernet card)

Nowadays, it's more common to use the MAC address of the Ethernet
card. It's supposed to be unique.

>  - the current universal time down to the second
>  - some of the digits of the current microsecond time, not including
>    the highest or lowest order bits

> The serial number/IP address, well, that might be a bit tougher, but I
> don't see how you can be unique across machines unless you use something
> like this.

I believen ifconfig gives you the MAC address both on Unix and some
flavours of Windows.

-- 
Lieven Marchand <mal@wyrd.be>
She says, "Honey, you're a Bastard of great proportion."
He says, "Darling, I plead guilty to that sin."
Cowboy Junkies -- A few simple words



Follow-Ups: References: