digest-pure-0.0.2: Pure hash functions for bytestrings

Stabilityexperimental
MaintainerDanil de Kok <me@danieldk.eu>

Data.Digest.Pure.CRC32

Description

This module provides functions to calculate CRC32 checksums.

Synopsis

Documentation

class CRC32 a whereSource

The class of values for which CRC-32 checksums can be computed.

Methods

crc32 :: a -> Word32Source

Compute the CRC-32 checksum.

crc32Update :: Word32 -> a -> Word32Source

Incrementally update an CRC-32 checksum. The CRC-32 checksum of one A updated with B, equals the checksum of the concatenation of A and B.