Popularity
5.5
Stable
Activity
0.0
Stable
9
4
2

Monthly Downloads: 16
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Data     Cryptography    
Latest version: v1.0.3

siphash alternatives and similar packages

Based on the "Cryptography" category.
Alternatively, view siphash alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of siphash or a related project?

Add another 'Cryptography' Package

README

Haskell Siphash

Simple module to compute the SipHash algorithm.

Install

cabal install siphash

Usage

siphash-2-4:

import Crypto.MAC.SipHash (hash)
import qualified Data.ByteString.Char8 as B

k0 = 0xaaaaaaaaaaaaaaaa
k1 = 0xbbbbbbbbbbbbbbbb
tag = hash (SipKey k0 k1) (B.pack "my text to hash")

siphash-c-d:

import Crypto.MAC.SipHash (hash)
import qualified Data.ByteString.Char8 as B

k0 = 0xaaaaaaaaaaaaaaaa
k1 = 0xbbbbbbbbbbbbbbbb
tag = hashWith nbCompressionRounds nbDigestRounds (SipKey k0 k1) (B.pack "my text to hash")