@hackage ChibiHash0.1.0.0

a simple and fast 64-bit hash function

ChibiHash-hs

Haskell port of N-R-K/ChibiHash. See the article ChibiHash: A small, fast 64-bit hash function for more information.

All credit for the algorithm goes to N-R-K.

Usage

module Main where

import ChibiHash (chibihash64)
import qualified Data.ByteString as BS

main :: IO ()
main = do
    let input = BS.pack [1,2,3,4]
    let seed = 0
    print $ chibihash64 input seed

You may also run the example program with cabal run.

Tests

Run tests with cabal test.

License

MIT.