[Haskell-beginners] Best MD5 module?
Patrick Mylund Nielsen
haskell at patrickmylund.com
Thu Nov 12 22:37:11 UTC 2015
On Thu, Nov 12, 2015 at 5:30 PM Dan Stromberg <strombrg at gmail.com> wrote:
>
> What's the best module for doing an MD5 hash?
>
> More specifically, I want to hash the first few dozen K of a file, and
> then the entire file - to get two different hashes.
>
I would use the one from cryptohash if you're looking for performance,
however I must stress that using MD5 for anything "new" is almost certainly
a bad idea. If you aren't doing this for compatibility reasons, you should
use something else, like BLAKE2: https://blake2.net/
You might also be interested in https://hackage.haskell.org/package/saltine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20151112/c66c6fa1/attachment.html>
More information about the Beginners
mailing list