-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | a simple and fast 64-bit hash function -- -- Haskell port of ChibiHash, a simple and fast 64-bit hash function. -- -- Features: -- --
-- 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 --module ChibiHash -- | Main hash function that processes input in several stages: 1. Process -- full 32-byte blocks 2. Process remaining bytes (< 32 bytes) 3. -- Apply final mixing function chibihash64 :: ByteString -> Word64 -> Word64