digest-0.0.2.0: CRC32 and Adler32 hashes for bytestrings
Copyright(c) 2008 Eugene Kirpichov
LicenseBSD-style
Maintainerekirpichov@gmail.com
Stabilityexperimental
Portabilityportable (H98 + FFI)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Digest.Adler32

Description

Adler32 wrapper

Synopsis

Documentation

class Adler32 a Source #

The class of values for which Adler32 may be computed

Minimal complete definition

adler32Update

Instances

Instances details
Adler32 ByteString Source # 
Instance details

Defined in Data.Digest.Adler32

Adler32 ByteString Source # 
Instance details

Defined in Data.Digest.Adler32

Adler32 [Word8] Source # 
Instance details

Defined in Data.Digest.Adler32

adler32 :: Adler32 a => a -> Word32 Source #

Compute Adler32 checksum

adler32Update :: Adler32 a => Word32 -> a -> Word32 Source #

Given the Adler32 checksum of a string, compute Adler32 of its concatenation with another string (t.i., incrementally update the Adler32 hash value).