Collision-resistant IDs https://github.com/eightyeight/hscuid
|Latest on Hackage:||184.108.40.206|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
What is a CUID?
CUIDs are short random strings designed so that you can generate a lot of them over many different machines and not get collisions. They are designed to be usable in many situations, such as HTML element IDs. You can read more about them at usecuid.org.
How do I use this library?
>>> import Web.Cuid (newCuid, newSlug) >>> newCuid "cib3c3tcu0000zwowx9ho2gh4" >>> newSlug "y900001wmf"