Tuesday, February 8, 2011

GUID

Is GUID unique? While each generated GUID is not guaranteed to be unique, the total number of unique keys (2^128 or 3.4×10^38) is so large that the probability of the same number being generated twice is very small.

GUID is a 16 byte (or 128 bits) combination of alphabets and numerics. Once you take it apart, the bits of the GUID break down like this:
  • 60 bits of timestamp,
  • 48 bits of computer identifier,
  • 14 bits of uniquifier, and
  • 6 bits are fixed,

for a total of 128 bits.

More information can be found here.

No comments:

Post a Comment