Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hashids

This is a direct translation of vinkla/hashids. It is implemented using the ST monad in order to make it as similar as possible to the php implementation. The test suite from vinkla/hashids has been translated to hspec to ensure complete compatability.

Usage

doEncoding =
  let Right ctx = mkHashidsContext "this is my salt" 8 defaultAlphabet
  encode ctx [1]

About

Reimplementation of Hashids using the ST monad

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages