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. It 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. On my system, the haskell version is 2 to 3 times slower.

Versions 0.1.0.0, 0.1.1.0, 0.1.2.0
Change log ChangeLog.md
Dependencies base (>=4.9 && <5), bytestring (>=0.10.2), zlib [details]
License BSD-3-Clause
Author Marios Titas <rednebΑΤgmxDΟΤcom>
Maintainer Marios Titas <rednebΑΤgmxDΟΤcom>
Category Cryptography, Hash
Home page https://github.com/redneb/hs-adler32
Bug tracker https://github.com/redneb/hs-adler32/issues
Source repo head: git clone https://github.com/redneb/hs-adler32.git
Uploaded by MariosTitas at Thu Mar 15 00:03:14 UTC 2018
Distributions LTSHaskell:0.1.2.0, NixOS:0.1.2.0, Stackage:0.1.2.0
Downloads 870 total (33 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-03-15 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
zlib

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

EnabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees