A universally unique identifier (UUID) is a 128-bit label used for information in computer systems. The term globally unique identifier (GUID) is also used, often in software created by Microsoft.
What is a GUID number?
(Globally Unique IDentifier) An implementation of the universally unique ID (see UUID) that is computed by Windows and Windows applications. Using a pseudo-random 128-bit number, GUIDs are used to identify user accounts, documents, software, hardware, software interfaces, sessions, database keys and other items.
How do I generate a GUID?
Mapping the components to a GUID
- Convert the name into bytes. ...
- Convert the namespace into bytes. ...
- Concatenate them and hash using the correct hashing method. ...
- Break up the hash into the main components of a GUID, timestamp, clock sequence, and node ID. ...
- Insert the timestamp component into the GUID: 2ed6657de927468b.