# Moving away from UUIDs – Neil Madden

<https://neilmadden.blog/2018/08/30/moving-away-from-uuids/>

- Host: [neilmadden.blog](https://links.thingelstad.xyz/hosts/neilmadden.blog/)
- Saved: November 22, 2022 (2022-11-23T03:14:13Z)
- Record: https://links.thingelstad.xyz/links/85b8aa52d79a/
- JSON: https://links.thingelstad.xyz/links/85b8aa52d79a.json

## What Jamie wrote

Madden has a delightful post going into depth on the "guessability" of UUIDs. UUIDs are used all over the place in so many systems. They solve a really important issue for programmers, creating a (nearly) guaranteed random number. 

But Madden goes to work to see how long it would take to guess a UUID and, uh oh, it could be 35 minutes. 

> My recommendation is to use a 160-bit (20 byte) random value that is then URL-safe base64-encoded. The URL-safe base64 variant can be used pretty much anywhere, and is reasonably compact.

That takes 17.9 million years to guess. More than 35 minutes… 🤓

## Facts

- Kind: [Page](https://links.thingelstad.xyz/kinds/page/)

## Appears in

- [WT235: Weekly Thing #235 / TikTok, Busy, Stories](https://weekly.thingelstad.com/archive/235/), Notable

## Saved the same week

- [Bob Iger Returning as Disney CEO, Bob Chapek Fired by Board – The Hollywood Reporter](https://links.thingelstad.xyz/links/f8ebaaabcd26/) (hollywoodreporter.com, November 22, 2022)
- [3 Reasons Smart Leaders Tell Stories - How You Can Too - Leadership Freak](https://links.thingelstad.xyz/links/7e2ba320e39b/) (leadershipfreak.blog, November 22, 2022)
- [On company size](https://links.thingelstad.xyz/links/4e302c8932e5/) (world.hey.com, November 22, 2022)
- [It’s Costing Peanuts for the US to Defeat Russia - CEPA](https://links.thingelstad.xyz/links/297415cc62a6/) (cepa.org, November 22, 2022)
- [D2 Tour | D2 Documentation](https://links.thingelstad.xyz/links/8c3b4590f7c0/) (d2lang.com, November 22, 2022)

## Elsewhere

- Wayback Machine: https://web.archive.org/web/*/https://neilmadden.blog/2018/08/30/moving-away-from-uuids/
