Kwal-IT

Kwal-IT Created to create: Do you want more online visibility for your company? Then you are at the…

Follow publication

Member-only story

What Is a UUID and How Are They Generated?

Dieter Jordens
Kwal-IT
Published in
4 min readJan 29, 2020

Photo by Markus Spiske on Unsplash

A Universally Unique Identifier (UUID) is a 128-bit number that identifies information in a computer system. It is also known as a Globally Unique Identifier (GUID). The standard representation of a UUID is typically made of hexadecimal digits:

e5d520d8-d06e-4bc2-9bb9-a28e47014884

In total, you see 32 characters with four hyphens in between. To live up to their name, UUID’s are expected to be unique. This is not generally true — their uniqueness depends on the methods or algorithms used to generate them. However, while it’s possible, the probability that a UUID is duplicated is close enough to zero to be negligible.

There are various ways to calculate a UUID. I will explain what the differences are and provide some insight into the implementations.

Version One

A version one UUID is a universally unique identifier that’s generated using the MAC address of the computer and the time of generation.

Does this mean that a version one UUID is unique? Well, they pretty much are. There’s a limit of 163 billion per second on a computer (or node) to ensure uniqueness, but that’s not something you would often run into as a developer.

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Kwal-IT
Kwal-IT

Published in Kwal-IT

Kwal-IT Created to create: Do you want more online visibility for your company? Then you are at the right place: the official blog of Kwal-IT! We specialize in branding, logo design, websites, and graphic design.

Dieter Jordens
Dieter Jordens

Written by Dieter Jordens

Owner of https://kwal-it.be - Your expert in the domain of Software Development, Coaching and Content Management

Write a response