Skip to content

belevy/hashids-haskell

 
 

Repository files navigation

hashids-haskell Build Status License: MIT Language Hackage Version

Haskell port of the Hashids library. http://hashids.org

Install:
cabal install hashids

or using Stack:

stack install hashids
Hello, World:
{-# LANGUAGE OverloadedStrings #-}
module Main where

import Web.Hashids

main :: IO ()
main = do
    let hashids = hashidsSimple "this is my salt"
        ids = encodeList hashids [1, 2, 3]
        numbers = decode hashids ids

    print (ids, numbers)

About

⚡ Haskell port of the Hashids library. ⚡

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 96.9%
  • Shell 3.1%