adler32: An implementation of Adler-32, supporting rolling checksum operation

[ bsd3, cryptography, hash, library ] [ Propose Tags ]

This package provides an implementation of the Adler-32 checksum algorithm. In supports a rolling checksum mode, i.e. the checksum of a sliding window of the input message can be computed efficiently. It also supports compounding, i.e. the checksum of the concatenation of two messages can be efficiently computed from the checksums of the two parts.

By default, the highly optimized implementation of Adler-32 from zlib will be used. This can be disabled in which case a pure haskell implementation will be used instead. The haskell version is 2 to 3 times slower on my system.

Versions [faq],,
Dependencies base (>=4.6 && <4.11), bytestring (>=0.10.2 && <0.11), zlib [details]
License BSD-3-Clause
Author Marios Titas <rednebΑΤgmxDΟΤcom>
Maintainer Marios Titas <rednebΑΤgmxDΟΤcom>
Revised Revision 1 made by HerbertValerioRiedel at Sun Sep 30 08:10:15 UTC 2018
Category Cryptography, Hash
Home page
Bug tracker
Source repo head: git clone
Uploaded by MariosTitas at Fri Jan 22 08:33:49 UTC 2016
Distributions LTSHaskell:, NixOS:, Stackage:
Downloads 1389 total (33 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]





Bind to zlib and use the implementation of Adler-32 from there


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees