package crc64
Import Path
hash/crc64 (on golang.org and go.dev)
Dependency Relation
imports 3 packages, and imported by 0 packages
Involved Source Files
d-> crc64.go
Exported Type Names
Exported Values
func
Checksum(data []
byte, tab *
Table)
uint64
Checksum returns the CRC-64 checksum of data
using the polynomial represented by the Table.
const
ECMA = 14514072000185962306
The ECMA polynomial, defined in ECMA 182.
const
ISO = 15564440312192434176
The ISO polynomial, defined in ISO 3309 and used in HDLC.
func
MakeTable(poly
uint64) *
Table
MakeTable returns a Table constructed from the specified polynomial.
The contents of this Table must not be modified.
func
New(tab *
Table)
hash.
Hash64
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.
const
Size = 8
The size of a CRC-64 checksum in bytes.
 |
The pages are generated with Golds v0.1.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project and developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |