FACTOID # 95: You can be imprisoned for not voting in Fiji, Chile and Egypt - at least in theory.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
 
 
WHAT'S NEW
RELATED ARTICLES
People who viewed "GUID" also viewed:
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > GUID

A Globally Unique Identifier or GUID is a pseudo-random number used in software applications. Each generated GUID is "mathematically guaranteed" to be unique. This is based on the simple principle that the total number of unique keys (2128 or ) is so large that the possibility of the same number being generated twice is virtually zero.


The GUID is an implementation by Microsoft of a standard called Universally Unique Identifier or UUID, specified by the Open Software Foundation (OSF). It is essentially a 16-byte number, written in hexadecimal form, such as:

3F2504E0 4F89 11D3 9A 0C 03 05 E8 2C 33 01

GUIDs are written using a four-byte word, 3 two-byte words, and a six-byte word, such as:

{3F2504E0-4F89-11D3-9A0C-0305E82C3301}

The structure of the data type is:

 GUID STRUCT Data1 dd Data2 dw Data3 dw Data4 dw Data5 db 6 GUID ENDS 

In the Microsoft component object model, GUIDs are used to uniquely distinguish different software component interfaces. This means that two versions of a component can have exactly the same name, but still be different to the user in case the GUID has changed.


GUIDs are also inserted into documents from Microsoft Office programs, as these are regarded as objects as well. Even audio or video streams in the Advanced Streaming Format (ASF) are identified by their GUIDs.


Algorithm

The algorithm used for generating new GUIDs has been widely criticized. At one point, the user's network card MAC address was used as a base for several GUID digits, which meant that, e.g., a document could be tracked back to the computer that created it. After this was discovered, Microsoft changed the algorithm so that it no longer contains the MAC address. This privacy hole was used when locating the creator of the Melissa worm.


External links

  • DmaId for InstanceId Values (DCE Universally Unique IDentifiers, UUIDs) (http://www.infonuovo.com/dma/csdocs/sketch/instidid.htm)
  • Syntax and semantics of the DCE variant of Universal Unique Identifiers (UUIDs) (http://www.opengroup.org/onlinepubs/9629399/apdxa.htm)
  • Draft UUID specification (includes sample code) (http://www.webdav.org/specs/draft-leach-uuids-guids-01.txt)

  Results from FactBites:
 
Globally Unique Identifier - Wikipedia, the free encyclopedia (760 words)
GUIDs are used in many pieces of software, including Oracle Database and Novell eDirectory, but the most high-profile GUID implementation may be Microsoft's.
GUIDs are also inserted into documents from Microsoft Office programs, as these are regarded as objects as well.
In these (V1) GUIDs, the user's network card MAC address was used as a base for the last group of GUID digits, which meant, for example, that a document could be tracked back to the computer that created it.
GnuCash: GUID (995 words)
New GUID's are usually created by initialising a new entity using qof_instance_init, rather than calling GUID functions directly.
Note that while guid's are generated randomly, the odds of this routine returning a non-unique id are astronomically small.
Returns a GUID which is guaranteed to never reference any entity.
  More results at FactBites »


 
 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms, 1022, m