
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.
Greets,
Ertugrul
Vincent Hanquez
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,
-- nightmare = unsafePerformIO (getWrongWife >>= sex) http://blog.ertes.de/