Documentation ¶
Overview ¶
Package crc64jones implements a 64-bit cyclic redundancy check, or CRC-64, checksum. Specifically the Jones flavour of it which is used by Redis.
Specification of this CRC64 variant follows: - Name: crc-64-jones - Width: 64 bites - Poly: 0xad93d23594c935a9 - Reflected In: True - Xor_In: 0xffffffffffffffff - Reflected_Out: True - Xor_Out: 0x0 - Check("123456789"): 0xe9c6d914c4b8d9ca
Index ¶
Constants ¶
View Source
const (
// The Jones polynomial.
Jones = 0xad93d23594c935a9
)
Predefined polynomials.
Variables ¶
This section is empty.
Functions ¶
func Checksum ¶
Checksum returns the CRC-64 checksum of data using the polynomial represented by the [Table].
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.