UUID Readable: Human Readable, Reads Like Shakespeare

Generic badge Generic badge

Generate Easy to Remember, Readable UUIDs, that are Shakespearean and Grammatically Correct Sentences 🥳

Logo

  • Built on UUID v4
  • Optionally pass your UUID to generate a unique sentence
  • 128 Bit Crypto Secure
  • Grammatically correct sentences
  • Easy to remember
  • Has a Shakespeare feeling
  • Universally Unique Identifier
  • Generate Low Entropy 32 Bit Tokens

Example

128 Bit UUID Readable

Loren Chariot Addy the Titbit of Cholame questioned Cele Garth Alda and 16 windy frogs

Drucill Hubert Lewse the Comer of Avera rejoices Fiann Craggy Florie and 5 hard trouts

Jacquette Brandt John the Pectus of Barnsdall doubted Glenn Gay Gregg and 12 noisy stoats

Low Entropy 32 Bit

11 pretty dragonflies regularly sang

2 fat toads happily buzzed

Note

Think of it this way, it’s impossible to remember 32 random characters in UUID, but these sentences even though hard can be remembered, and are definitely fun!

Alternatively, generate 32 bit readable small sentences from 128 bit UUID and check later if they match.

API

Thanks to uuid.rocks, we have an API Endpoint

curl https://uuid.rocks/plain?readable
# Joyce Ange Barrett the Orient of Alco killed Marlyn Hewett Lady and 11 strong bulls

Installation

npm install uuid-readable --save

Usage

const id = require('uuid-readable')

console.log( id.generate() )
// Cathleen d Dieball the Monolith of Alderson reflects Arly Arnie Keenan and 18 large ants

Pass your own UUID

console.log( id.generate(uuid) )

Inverse, get UUID back from Readable UUID

const uuid = '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'
const readable = id.generate(uuid)
const inverse = id.inverse(readable)
 
inverse === uuid // true

Low Entropy 32bit Readable (Use as Readable Hash)

const short = id.short(uuid)
// 5 fat toads happily buzzed

// Check Later
id.check(short, uuid) //true

MongoDB

const id = require('uuid-readable')

readable_id: {
  'type': String,
  'default': id
}

// or use as real id

_id: {
  'type': String,
  'default': id
}

How does it work?

UUID is converted to 128 bits.

  • 12 bits for first name
  • 11 bits for middle name
  • 14 bits for last name
  • 13 bits for a personal pronoun
  • 13 bits for name of place
  • 10 bits for verb
  • 12 bits for first name
  • 11 bits for middle name
  • 14 bits for last name
  • 5 bits for number of animals
  • 6 bits for animal adjective
  • 7 bits for animal

For example, 7 bits for animal means we choose one animal from a list of atleast 2**7 = 128 animals

Alternatively, the inverse funcation proves that UUID and Readable UUID form a bijection, hence no loss of entropy.

Use Cases

  • Customer Support

You can remember parts of the id and that’s enough to search it up and communicate throughout a large team. I will be using it as a secret generation for a service, and customer tickets.

Sponsors

Shakespeare Geek

Author: Shantun Parmar

24 thoughts on “UUID Readable: Human Readable, Reads Like Shakespeare

  1. Hello, it’s Kyran here!
    I work as an academic writer and have created this content with the intent of changing your life for the better. I started honing my writing skills in high school. I learned that my fellow students needed writing help—and they were willing to pay for it. The money was enough to help pay my tuition for my remaining semesters of college.
    Ever since high school, I have continued to work as a professional writer. I was hired by a writing service based in the United Kingdom. Since then, the essays that I have written have been sold around Europe and the United States.
    In my line of work, I have become used to hearing, “Kyran, can you help me meet my writing assignment deadline?” I know that I can save their time.

    Professional Writer – Kyran Mckinney – http://www.supportbonaire.org Team

  2. Hi guys, it’s Eduard Jaramillo here!
    I work as an academic writer and have created this content with the intent of changing your life for the better. I started honing my writing skills in my school years. I learned that my fellow students needed writing help—and they were willing to pay for it. The money was enough to help pay my tuition for my first semester of college.
    Ever since college, I have continued to work as an academic writer. I was hired by a writing service based in the United Kingdom. Since then, the research papers that I have written have been sold around Europe and the United States.
    In my line of work, I have become used to hearing, “Eduard Jaramillo, can you help me meet my writing assignment deadline?” I know that I can provide this service.

    Professional Writer – Eduard Jaramillo – http://www.bisnis-sumatra.com Company

  3. Hello, I am Nannie a professional in academic writing.

    I enjoy solving people’s problems and make them happy. That is what I have been doing for many years now.
    I have been writing since I was 12 years old and never knew it would turn out to be a full-time career. I have also been able to handle several assignments that involves writing. And I worked in three organizations as a volunteer to assist people.My interest has always been to help people succeed. And I go the extra mile to make that happen.
    I enjoy writing Thesis and have helped people from countries like Canada.
    I work with a service provider whose mission is to provide quality papers and make people happy. In fact, many clients come to me for professional help on a daily basis because they know I always deliver. And I will continue to provide nothing but the best to build trust like I have been doing for the past few years.

    Expert academic writer – Nannie Morris – http://www.chateau-gombaude-guillot.com Company

  4. I was examining some of your content on this site and I believe this internet site is real instructive! Retain posting . Roseanna Horace Schug

  5. I am only writing to make you understand what a superb experience our princess undergone viewing yuor web blog. She picked up such a lot of things, with the inclusion of what it is like to possess an ideal teaching style to make the others without hassle thoroughly grasp specified tricky topics. You undoubtedly surpassed visitors’ expected results. Thanks for showing those valuable, trustworthy, revealing not to mention unique tips on your topic to Sandra.

  6. I simply wished to thank you very much yet again. I do not know what I would have used without those tips and hints shown by you relating to this theme. This has been the traumatic setting in my view, nevertheless viewing your well-written technique you treated the issue took me to weep with joy. Now i am thankful for your work as well as wish you recognize what an amazing job your are undertaking training the others with the aid of your website. Probably you haven’t met any of us.

  7. I simply wished to thank you very much yet again. I do not know what I would have undertaken without those tips shown by you relating to this theme. Previously it was the terrifying setting in my view, nevertheless understanding your well-written technique you treated the issue took me to weep with joy. Now i’m thankful for your support as well as trust you recognize what an amazing job you were undertaking training the others via your website. Most probably you haven’t met any of us.

Thanks for your support, You may click on ads to encourage us which assits to writers.

Leave a Reply

Your email address will not be published.