Nano ID [1] is a library for generating random IDs. Likewise UUID, there is a probability of duplicate IDs. However, this probability is extremely small.
NanoID Collision Calculator [2] is a web app that calculates the possibility of a nano id collision based on the ids’ length.
[1] https://github.com/ai/nanoid
[2] https://zelark.github.io/nano-id-cc/
#NanoID #tools #statistics #hashing #collision #PrimaryKey #guid #uuid
#NanoID #tools #statistics #hashing #collision #PrimaryKey #guid #uuid