Very simple question.
When a Microsoft GUID is generated, what part of GUID is considered unique? Take this guid for instance:
19C73070-400A-11E2-B017-3D05D2B0F3CE
I know that in a GUID it has 60 bits designated for a timestamp, 48 bits for a computer identifier, 14 bits of uniqueness, and six bits are fixed. I just don’t know which order these are in.
What part of the above GUID could I use to get be unique? Doesn’t have to be unduplicatable, but enough to identify off of it.
Thanks.
You shouldn’t depend on the implementation of the GUID generator, as it may change. The correct thing to do here would be to use a hashing algorithm to generate an 8-byte hash of the GUID and use that instead.