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

[ library, mit, web ] [ Propose Tags ] [ Report a vulnerability ]

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.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0.2, 1.0.2.1, 1.0.2.2, 1.0.2.3, 1.0.2.4, 1.0.2.7, 1.1.0.0, 1.1.0.1, 1.1.1.0
Dependencies base (>=4.9 && <5), bytestring (>=0.10.8.1 && <=0.12.1.0), containers (>=0.5.7.1 && <0.7.0), split (>=0.2.3.2 && <0.3.0.0) [details]
License MIT
Author Johannes Hildén <hildenjohannes@gmail.com>
Maintainer Johannes Hildén <hildenjohannes@gmail.com>
Category Web
Home page http://hashids.org/
Bug tracker https://github.com/laserpants/hashids-haskell/issues
Source repo head: git clone https://github.com/laserpants/hashids-haskell
Uploaded by arbelos at 2023-12-30T17:38:07Z
Distributions LTSHaskell:1.1.1.0, NixOS:1.1.1.0, Stackage:1.1.1.0
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 5366 total (48 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-12-30 [all 1 reports]