adler32

An implementation of Adler-32, supporting rolling checksum operation https://github.com/redneb/hs-adler32

Version on this page:0.1.1.0
LTS Haskell 9.9:0.1.1.0
Stackage Nightly 2017-10-18:0.1.1.0
Latest on Hackage:0.1.1.0
BSD3 licensed and maintained by Marios Titas <rednebΑΤgmxDΟΤcom>

Module documentation for 0.1.1.0

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.

Changes

0.1.1.0 2016-01-25

  • Introduce the adler32Update' method to the Adler32Src class.
Depends on:
Used by 1 package:
comments powered byDisqus