Jump to content

Talk:Universally unique identifier

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by TheGrandRascal (talk | contribs) at 00:06, 1 October 2022 (→‎Other variants of UUID). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Other variants of UUID

Reviewing logs in a web gateway, UUID Variant "e" was observed in the wild. This is not Random as fields 3 4 5 are the same between two seperate UUIDs

406bb3ab-a127-ec11-981f-c896653b5010 213d5787-2629-ec11-981f-c896653b5010

https://email.ngpvan.com/unsubscribeUnique/406bb3ab-a127-ec11-981f-c896653b5010/213d5787-2629-ec11-981f-c896653b5010?nvep=ewogICJUZW5hbnRVcmkiOiAibmdwdmFuOi8vdmFuL05HUC9OR1A0Mi8xLzg4NTAzIiwKICAiRGlzdHJpYnV0aW9uVW5pcXVlSWQiOiAiMjEzZDU3ODctMjYyOS1lYzExLTk4MWYtYzg5NjY1M2I5MjA4IiwKICAiRW1haWxBZGRyZXNzIjogImxvbGVyY29hc3RlckBjaXNjby5jb20iCn0%3D &hmac=wVRUIC0pn7S85lof8rzhxr1gJh2MXaBVOMZRmH_96HI=&id=1326529531

  • Log has been altered to remove PII while not changing data type/or meaning

173.38.117.90 (talk)DBNerd — Preceding undated comment added 13:13, 11 October 2021 (UTC)[reply]

New Versions

There is a draft RFC which introduces versions 6, 7 and 8, as well as a form called MAX UUID.

https://datatracker.ietf.org/doc/html/draft-peabody-dispatch-new-uuid-format#section-3

I don't know if this proposal merits inclusion, or if we should wait until it is finalized.

Bend1010 (talk) 20:31, 20 July 2022 (UTC)[reply]

ULID

Hi folks. As a heads-up, I created a page for universally unique lexicographically sortable identifier (ULID). – ClockworkSoul 17:35, 28 September 2022 (UTC)[reply]

What are the different variants of Version 4 UUID's used for?

From what I can determine, Version 4 UUID's -- the random kind -- have four variants, signified by the 17th hex digit being one of "8", "9", " a", or "b" (which is how I will refer to each variant here).

What are these four different variants for? How are they used? What determines the use of (say) variant "a" rather than variant "8"?

I'm writing a program to generate these UUID's pseudorandomly, and I don't want to make some kind of ghastly error by providing the wrong type of UUID! Is there a reason why one would use one v4 variant and not another? Are some v4 variants more apprpriate for some uses, and others for other uses? The main article doesn't even remotely begin to even touch this question...

Guidance? Help? Please? The Grand Rascal (talk) 09:14, 30 September 2022 (UTC)[reply]