[Haskell-cafe] Re: ANNOUNCE: hs-cryptohash 0.4

Ertugrul Soeylemez es at ertes.de
Fri Jul 2 08:03:23 EDT 2010

Hello Vincent,

it's nice to have such a package.  It's going to be very useful for me.
Thank you a lot!

BTW, as a third API type possible in Haskell I suggest making a lazy
ByteString variant.  In some places this could well replace the
incremental API and be more natural to use.


Vincent Hanquez <tab at snarc.org> wrote:

> 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

nightmare = unsafePerformIO (getWrongWife >>= sex)

More information about the Haskell-Cafe mailing list