package
0.0.0-20130121074735-1d03baafba06
Repository: https://github.com/icattlecoder/go.git
Documentation: pkg.go.dev
# Functions
Checksum returns the CRC-32 checksum of data using the polynomial represented by the Table.
ChecksumIEEE returns the CRC-32 checksum of data using the IEEE polynomial.
MakeTable returns the Table constructed from the specified polynomial.
New creates a new hash.Hash32 computing the CRC-32 checksum using the polynomial represented by the Table.
NewIEEE creates a new hash.Hash32 computing the CRC-32 checksum using the IEEE polynomial.
Update returns the result of adding the bytes in p to the crc.
# Constants
Castagnoli's polynomial, used in iSCSI.
Far and away the most common CRC-32 polynomial.
Koopman's polynomial.
The size of a CRC-32 checksum in bytes.
# Variables
IEEETable is the table for the IEEE polynomial.
# Type aliases
Table is a 256-word table representing the polynomial for efficient processing.