digest-0.0.1.3: Various cryptographic hashes for bytestrings; CRC32 and Adler32 for now.
Copyright(c) 2008 Eugene Kirpichov
LicenseBSD-style
Maintainerekirpichov@gmail.com
Stabilityexperimental
Portabilityportable (H98 + FFI)
Safe HaskellNone
LanguageHaskell2010

Data.Digest.CRC32

Description

CRC32 wrapper

Synopsis

Documentation

class CRC32 a Source #

The class of values for which CRC32 may be computed

Minimal complete definition

crc32Update

Instances

Instances details
CRC32 ByteString Source # 
Instance details

Defined in Data.Digest.CRC32

CRC32 ByteString Source # 
Instance details

Defined in Data.Digest.CRC32

CRC32 [Word8] Source # 
Instance details

Defined in Data.Digest.CRC32

crc32 :: CRC32 a => a -> Word32 Source #

Compute CRC32 checksum

crc32Update :: CRC32 a => Word32 -> a -> Word32 Source #

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