go1.20.5
GoThrough

crc64.ECMA

// Predefined polynomials. // The ECMA polynomial, defined in ECMA 182. const ECMA = 0xC96C5795D7870F42

crc64.ISO

// Predefined polynomials. // The ISO polynomial, defined in ISO 3309 and used in HDLC. const ISO = 0xD800000000000000

crc64.Size

// The size of a CRC-64 checksum in bytes. const Size = 8

crc64.Checksum

// Checksum returns the CRC-64 checksum of data // using the polynomial represented by the Table. func Checksum(data []byte, tab *Table) uint64

crc64.MakeTable

// MakeTable returns a Table constructed from the specified polynomial. // The contents of this Table must not be modified. func MakeTable(poly uint64) *Table

crc64.New

// 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. func New(tab *Table) hash.Hash64

crc64.Update

// Update returns the result of adding the bytes in p to the crc. func Update(crc uint64, tab *Table, p []byte) uint64