Closed tkrotoff closed 2 years ago
The README states:
There are three main differences between Nano ID and UUID v4: Nano ID uses a bigger alphabet, so a similar number of random bits are packed in just 21 symbols instead of 36.
There are three main differences between Nano ID and UUID v4:
This is unfair: Nano ID should be compared to UUID Base64 or Base64url encoded.
3a34ea98-651e-4253-92af-653373a20c51
OjTqmGUeQlOSr2Uzc6IMUQ
V1StGXR8_Z5jdHi6B-myT
-IvvARlqMW8
Many people use UUID directly. This not is for these people.
The README states:
This is unfair: Nano ID should be compared to UUID Base64 or Base64url encoded.
3a34ea98-651e-4253-92af-653373a20c51
original UUID => 36 symbolsOjTqmGUeQlOSr2Uzc6IMUQ
same UUID but Base64url encoded => 22 symbolsV1StGXR8_Z5jdHi6B-myT
Nano ID => 21 symbols-IvvARlqMW8
YouTube ids => 11 symbols