Do you believe this? GUIDGEN.EXE by Microsoft

  • #1
You must use Microsoft's GUIDGEN.EXE or (similar programs which use the same algorithm in it) to generate a unique GUID (Globally Unique Identifier) for each COM object and its interface/s you create.

The program generates, so they say, a 128-bit vector which is guaranteed not to be replicated again on any machine at any time ever.

Of course, you don't have to be online to use this program.

Do you believe Microsoft's claim is true?
 

Answers and Replies

  • #2
NateTG
Science Advisor
Homework Helper
2,450
6
Well, 2^128 is a bit low, really it ought to be 2^256, but otherwise, yeah, it's plausible.

It's called cryptographic hashing. You should be able to look it up for more info.

With 2^128 bits, that's only 2^64 objects before colisions start being really likely, and it's actually concievable that there are 2^64 objects.
 
  • #3
Originally posted by Julian Solos
The program generates, so they say, a 128-bit vector which is guaranteed not to be replicated again on any machine at any time ever.

probably an md5 algorithm.
 
  • #4
hmm. only about 34,028,236,692,093,846,346,337,460,743,177,000,000 possible combinations..... With a little bit of effort, it probably wouldn't be to hard to make somtthing that produces files with identical MD5 things.
 
  • #5
chroot
Staff Emeritus
Science Advisor
Gold Member
10,239
39
The point of MD5 (and other hashes) is that it actually takes a huge amount of computational effort to generate two files with the same hash. Hashing would be useless if it was easy to do this.

Also, I should note that computers already contain unique information. MAC address on LAN cards, for example, are unique. Each manufacturer is given a block of MACs, and they are never used twice. A gauranteed-unique serial number generator could easily be based on a machine's MAC address. (Though I don't know the actual implementation of Mickeysoft's program.)

- Warren
 
  • #6
GUIDs

Your are correct that a random number would not be suficient to garantee the number was "globaly unique" however, Guid generation is not based entirly on random number generation, a GUID can be calculated a number of diffrent ways, but usually they are a combination of values such as the system time and the MAC address of your NIC these in themselfs are unique values assigned to your NIC by its manufacturer, each manufactuer having its own unique number and incramenting an aditional value for each card it produces.

http://www.webopedia.com/TERM/G/GUID.html

ZapTheDingbat
 

Related Threads on Do you believe this? GUIDGEN.EXE by Microsoft

  • Last Post
Replies
24
Views
4K
Replies
9
Views
5K
  • Last Post
3
Replies
53
Views
6K
Replies
8
Views
12K
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
4
Views
3K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
16
Views
3K
  • Last Post
Replies
3
Views
3K
  • Last Post
Replies
4
Views
2K
Top