hscuid: Collision-resistant IDs

[ bsd3, library, program, web ] [ Propose Tags ]

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.

Versions [faq] 1.0.0, 1.1.0, 1.2.0.0, 1.2.0.1
Dependencies base (>=4.6 && <5), formatting (==6.*), hostname (==1.*), random (==1.*), text (==1.*), time (==1.*), transformers (==0.4.*), unix (==2.*), Win32 (==2.*) [details]
License BSD-3-Clause
Author Daniel Buckmaster
Maintainer dan.buckmaster@gmail.com
Revised Revision 3 made by DanielBuckmaster at Sun Jun 21 03:15:04 UTC 2015
Category Web
Home page https://github.com/eightyeight/hscuid
Uploaded by DanielBuckmaster at Fri Jun 19 09:06:09 UTC 2015
Distributions NixOS:1.2.0.1
Downloads 1930 total (40 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2015-06-19 [all 1 reports]

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees