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.

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

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0, 1.1.0, 1.2.0.0, 1.2.0.1
Dependencies base (>=4.6 && <5), formatting (>=6 && <7), hostname (>=1 && <2), random (>=1 && <2), text (>=1 && <2), time (>=1 && <2), transformers (>=0.4 && <0.5), unix (>=2 && <3), Win32 (>=2 && <3) [details]
License BSD-3-Clause
Author Daniel Buckmaster
Maintainer dan.buckmaster@gmail.com
Revised Revision 3 made by DanielBuckmaster at 2015-06-21T03:15:04Z
Category Web
Home page https://github.com/eightyeight/hscuid
Uploaded by DanielBuckmaster at 2015-06-19T09:06:09Z
Distributions
Downloads 3319 total (13 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-06-19 [all 1 reports]