UUID
(Changed primary category) |
(Removed from deprecated "Binary Data" category) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|subcat=Elements of File Formats | |subcat=Elements of File Formats | ||
}} | }} | ||
− | A [[UUID]] (universally unique identifier) is an arbitrary 128-bit identifier, and a standard set of guidelines for generating such an identifier. The goal is that each | + | A [[UUID]] (universally unique identifier) is an arbitrary 128-bit identifier, and a standard set of guidelines for generating such an identifier. The goal is that each identifier will (with overwhelming probability) be unique, without need of a central authority. |
− | Some of the bits in a UUID are | + | Some of the bits in a UUID are not random, and are used to indicate the UUID version number, etc. |
The standard way to display a UUID is to use [[hex encoding]], with four hyphens added at particular positions. It typically looks something like this: | The standard way to display a UUID is to use [[hex encoding]], with four hyphens added at particular positions. It typically looks something like this: | ||
Line 11: | Line 11: | ||
See also [[GUID]], the Microsoft version of UUID. | See also [[GUID]], the Microsoft version of UUID. | ||
+ | |||
+ | Any UUID (or GUID) can be converted into a [[URI]] by inserting "<tt>urn:uuid:</tt>" at the beginning, and then followed by the standard form, with letters in lowercase. This allows a UUID to be represented anywhere a URI is allowed, such as the identification of a node in a [[RDF]] graph. | ||
== Links == | == Links == | ||
Line 16: | Line 18: | ||
* [[Wikipedia:Universally unique identifier]] | * [[Wikipedia:Universally unique identifier]] | ||
− | |||
[[Category:Naming and numbering systems]] | [[Category:Naming and numbering systems]] |
Revision as of 19:28, 23 August 2017
A UUID (universally unique identifier) is an arbitrary 128-bit identifier, and a standard set of guidelines for generating such an identifier. The goal is that each identifier will (with overwhelming probability) be unique, without need of a central authority.
Some of the bits in a UUID are not random, and are used to indicate the UUID version number, etc.
The standard way to display a UUID is to use hex encoding, with four hyphens added at particular positions. It typically looks something like this:
00000000-1111-2222-3333-444444444444
See also GUID, the Microsoft version of UUID.
Any UUID (or GUID) can be converted into a URI by inserting "urn:uuid:" at the beginning, and then followed by the standard form, with letters in lowercase. This allows a UUID to be represented anywhere a URI is allowed, such as the identification of a node in a RDF graph.