hashids

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

http://hashids.org/

LTS Haskell 22.29:1.1.1.0
Stackage Nightly 2024-07-19:1.1.1.0
Latest on Hackage:1.1.1.0

See all snapshots hashids appears in

MIT licensed and maintained by Johannes Hildén
This version can be pinned in stack with:hashids-1.1.1.0@sha256:47fe753116c6dfc11f5b89a4aaaea6b943b67f40f9f469d9447c2eb2fd68faeb,1855

Module documentation for 1.1.1.0

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.