@hackage hscuid1.1.0

Collision-resistant IDs

  • Installation

  • Dependencies (0)

  • Dependents (0)

CUIDs are designed for horizontal scalability and collision resistance. Read more about them at https://usecuid.org. Here's everything you need to know:

>>> import Web.Cuid (newCuid, newSlug)
>>> newCuid
"cib3c3tcu0000zwowx9ho2gh4"
>>> newSlug
"c900001wmf"

This module does not use crypto-strength sources of randomness. Use at your own peril!

For better or worse, this module uses semantic versioning (see http://semver.org/). That is, if you want to depend upon, for example, version 1 of the API, you should add hscuid ==1.* to your Cabal file. No breaking changes will be (deliberately) introduced under that version number.