hashids

Hashids generates short, unique, non-sequential ids from numbers. http://hashids.org/

LTS Haskell 13.26:1.0.2.4
Stackage Nightly 2019-06-27:1.0.2.4
Latest on Hackage:1.0.2.4

See all snapshots hashids appears in

MIT licensed by Johannes Hildén

Module documentation for 1.0.2.4

This version can be pinned in stack with:hashids-1.0.2.4@sha256:7bf6f511e4fd5c6a43ee75509d85214221a8efb061c012b0fca8982f51c78576,1507

This is a Haskell port of the Hashids library. It is typically used to encode numbers to a format suitable to appear in visible places like urls. It converts numbers like 347 into strings like yr8, or a list of numbers like [27, 986] into 3kTMd. You can also decode those ids back. This is useful in bundling several parameters into one.

comments powered byDisqus