Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6690777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:40:33+00:00 2026-05-26T05:40:33+00:00

The UUID specification defines 4 predefined namespaces which it describes as "potentially interesting" –

  • 0

The UUID specification defines 4 predefined namespaces which it describes as "potentially interesting" – meaning among other things, "if other people have generated UUIDs in this namespace you can verify them":

  • 6ba7b810-9dad-11d1-80b4-00c04fd430c8 for DNS
  • 6ba7b811-9dad-11d1-80b4-00c04fd430c8 for URL
  • 6ba7b812-9dad-11d1-80b4-00c04fd430c8 for ISO OID
  • 6ba7b814-9dad-11d1-80b4-00c04fd430c8 for X.500 DN

Where did these come from?

Specifically;

  • If I’m generating my own namespace UUID do I need to avoid anything in particular?
  • I’m aware how big the UUID space is, but does this have any implication on collisions?
  • Why have they chosen the 4th octet to increase as a kind of UUID ‘version number’?
  • Do my questions imply that I’m missing something fundamental about UUIDs?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:40:34+00:00Added an answer on May 26, 2026 at 5:40 am

    First, to be clear, this whole discussion is limited to version 3 & 5 UUIDs. In my (anecdotal) experience, version 4 (random) UUIDs are most commonly used.

    4122‘s namespaced UUID generation algorithm ambiguously begins:

    Allocate a UUID to use as a "name space ID"

    There is no other mention of "name space ID" allocation, and neither I nor python have found any standardized spaces beyond the four listed in RFC 4122.

    So the answer to your first question,

    • If I’m generating my own namespace UUID do I need to avoid anything in particular?

    You only need to avoid the four standard namespaces.


    The next question,

    • I’m aware how big the UUID space is, but does this have any implication on collisions?

    Has two parts:

    1. Will UUIDs within your namespace collide? Verbatim from 4122:

      The UUIDs generated from two different names in [your] namespace should be different (with very high probability).

    2. Will your namespace UUID collide with other namespaces? I couldn’t find a direct answer, since there’s no standard for "name space ID" allocation, but the argument in section 4.1.1 seems relevant:

      Interoperability, in any form, with variants other than the one
      defined here is not guaranteed, and is not likely to be an issue in
      practice.


    • Why have they chosen the 4th octet to increase as a kind of UUID ‘version number’?

    This one’s a bit of a mystery. Luckily, we have a spec for UUIDs, so we can mine them for some insight.

    Note that the (0-index) 8th octet starts with 8 in all cases, so we’re dealing with RFC 4122 variant UUIDs. Phew.

    Now check octet 6 for the version: 1, we’re dealing with version 1 time-based UUIDs.

    This answer has a handy algorithm for extracting python datetimes from version 1 UUIDs. Applying the algorithm yields a time in February 4th, 1998. I have yet to find meaning in this date. Incrementing the 3rd octet adds the smallest encodable time interval (100ns) to the date.


    • Do my questions imply that I’m missing something fundamental about UUIDs?

    Nope. There is very little discussion of UUID namespaces, since random UUIDs are so easy.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created UUID (don't know which type) with the following code: // Create universally
I want to generate a unique guid/uuid value for a property which is not
I want to generate a uuid which should be used as unique identifier across
Do I need a UUID to program for the iPhone? I was told I
I feel like GUID/UUID questions have been done to death here, but I can't
Say I have two UUID instances: uuid1 = UUID.randomUUID(); uuid2 = UUID.randomUUID(); If those
If I'm using Long uuid = UUID.randomUUID().getMostSignificantBits() how likely is it to get a
I'm looking for a UUID library for programming in C, that has a reasonable
I have URLs of the form http://domain/image/⟨uuid⟩/42x42/some_name.png . The Web server (nginx) is configured
What would be the most efficient data type to store a UUID/GUID in databases

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.