Documentation ¶
Overview ¶
Package crc64 implements the 64-bit cyclic redundancy check, or CRC-64, checksum. See http://en.wikipedia.org/wiki/Cyclic_redundancy_check for information.
Index ¶
Constants ¶
View Source
const ( // The ISO polynomial, defined in ISO 3309 and used in HDLC. ISO = 0xD800000000000000 // The ECMA polynomial, defined in ECMA 182. ECMA = 0xC96C5795D7870F42 )
Predefined polynomials.
View Source
const Size = 8
The size of a CRC-64 checksum in bytes.
Variables ¶
This section is empty.
Functions ¶
func Checksum ¶
Checksum returns the CRC-64 checksum of data using the polynomial represented by the Table.
Types ¶
Click to show internal directories.
Click to hide internal directories.