[Haskell-cafe] ANNOUNCE: hs-cryptohash 0.4

Vincent Hanquez tab at snarc.org
Thu Jul 1 03:25:12 EDT 2010


Hi Haskell-cafe,

I'ld like to announce the existence of hs-cryptohash [1] which provides
most common digests (sha1, sha2 family, md[245], ripemd160) in a incremental
and one-pass api.

It's also much faster than pure haskell implementation i've played with, since
the underlaying algorithms are all fairly optimized in C. The API remains pure
with the use of unsafePerformIO, which after reading everything i could about
it and some testing, seems to be safe in this context.

The main reason for this library is the lack of incremental api exposed by
current digest libraries, and filling the void about some missing digest
algorithms; Also the speed comes as a nice bonus.

I'm looking forward to hear any comments,

[1] http://github.com/vincenthz/hs-cryptohash

-- 
Vincent Hanquez


More information about the Haskell-Cafe mailing list