package crc64

Import Path
	hash/crc64 (on

Dependency Relation
	imports 3 packages, and imported by 0 packages

Involved Source Files Package crc64 implements the 64-bit cyclic redundancy check, or CRC-64, checksum. See for information.
Package-Level Type Names (only one)
/* sort by: | */
Table is a 256-word table representing the polynomial for efficient processing. func MakeTable(poly uint64) *Table func Checksum(data []byte, tab *Table) uint64 func New(tab *Table) hash.Hash64 func Update(crc uint64, tab *Table, p []byte) uint64
Package-Level Functions (total 4)
Checksum returns the CRC-64 checksum of data using the polynomial represented by the Table.
MakeTable returns a Table constructed from the specified polynomial. The contents of this Table must not be modified.
New creates a new hash.Hash64 computing the CRC-64 checksum using the polynomial represented by the Table. Its Sum method will lay the value out in big-endian byte order. The returned Hash64 also implements encoding.BinaryMarshaler and encoding.BinaryUnmarshaler to marshal and unmarshal the internal state of the hash.
Update returns the result of adding the bytes in p to the crc.
Package-Level Constants (total 3)
The ECMA polynomial, defined in ECMA 182.
The ISO polynomial, defined in ISO 3309 and used in HDLC.
The size of a CRC-64 checksum in bytes.