digest-0.0.1.2: 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
LanguageHaskell98

Data.Digest.CRC32

Description

CRC32 wrapper

Synopsis

Documentation

class CRC32 a #

The class of values for which CRC32 may be computed

Minimal complete definition

crc32Update

Instances
CRC32 ByteString # 
Instance details

Defined in Data.Digest.CRC32

CRC32 ByteString # 
Instance details

Defined in Data.Digest.CRC32

CRC32 [Word8] # 
Instance details

Defined in Data.Digest.CRC32

Methods

crc32 :: [Word8] -> Word32 #

crc32Update :: Word32 -> [Word8] -> Word32 #

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

Compute CRC32 checksum

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

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