hashing

A pure haskell library implements several hash algorithms.

https://github.com/wangbj/hashing

Version on this page:0.1.0.1@rev:2
LTS Haskell 22.44:0.1.1.0
Stackage Nightly 2023-12-26:0.1.1.0
Latest on Hackage:0.1.1.0

See all snapshots hashing appears in

MIT licensed by Baojun Wang
Maintained by [email protected]
This version can be pinned in stack with:hashing-0.1.0.1@sha256:98861f16791946cdf28e3c7a6ee9ac8b72d546d6e33c569c7087ef18253294e7,2816

Module documentation for 0.1.0.1

  • Crypto
    • Crypto.Hash
      • Crypto.Hash.ADT
      • Crypto.Hash.MD5
      • Crypto.Hash.SHA1
      • Crypto.Hash.SHA256
      • Crypto.Hash.SHA512
      • Crypto.Hash.Whirlpool
Used by 1 package in lts-12.21(full list with versions):

hashing is a pure haskell hash library, supported hash algorithm: SHA1/SHA224/SHA256/SHA384/SHA512 MD5 and Whirlpool.

It provides a simple interface hash and hashLazy to compute a hash value Based on the type signature.

Performance wise it only has 1/5 - 1/15 of native C implementations, or cryptonite.

Compare to other pure hash libraries such as PureMD5/SHA, it provides a simpler interface, implements more algorithms, and has less dependencies.