hashids

Hashids generates short, unique, non-sequential ids from numbers.

http://hashids.org/

LTS Haskell 19.27:1.0.2.7
Stackage Nightly 2022-10-05:1.0.2.7
Latest on Hackage:1.0.2.7

See all snapshots hashids appears in

MIT licensed and maintained by Johannes Hildén
This version can be pinned in stack with:hashids-1.0.2.7@sha256:231ecbfc21d08269916219209c4f6766106396551c1db355658a3c78402bcd94,1916

Module documentation for 1.0.2.7

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.