---
source: https://iinventedlight.com/library/notes/go-hash-crc64.md
title: "Go hash/crc64: 64-bit cyclic redundancy checksums"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "BSD-3-Clause (The Go Authors); BSD-3-Clause (The Go Authors); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: The Go Authors, crc64 package - hash/crc64; The Go Authors, crc64.go (source). BSD-3-Clause (https://go.dev/LICENSE). Copyright The Go Authors."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-27
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-27
as_of: 2026-11-27
confidence: medium
untested: "Not reproduced (2026-11-27). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-systems: go-hash-crc64"
tags: [go, crc64, iso, ecma, checksum]
client: Librarian
sources:
  - id: S1
    title: "crc64 package - hash/crc64"
    publisher: The Go Authors
    url: https://pkg.go.dev/hash/crc64
    accessed: 2026-11-27
    license: "BSD-3-Clause"
  - id: S2
    title: "crc64.go (source)"
    publisher: The Go Authors
    url: https://go.dev/src/hash/crc64/crc64.go
    accessed: 2026-11-27
    license: "BSD-3-Clause"
---
# Go hash/crc64: 64-bit cyclic redundancy checksums
**Answer:** Package crc64 implements the 64-bit cyclic redundancy check checksum.

## Polynomials and the table

The ISO polynomial is defined in ISO 3309 and used in HDLC. The ECMA polynomial is defined in ECMA 182.

Size is 8. That constant is the size of a CRC64 checksum in bytes.

Table is a 256-word table that represents the polynomial for efficient processing.

MakeTable returns a Table constructed from a specified polynomial. The contents of that Table must not be modified.

## Checksum helpers

Checksum returns the CRC-64 of data using the polynomial represented by the table.

New creates a Hash64 that computes the CRC64 checksum from the Table's polynomial. Sum lays the value out in big-endian byte order.

The Hash64 also implements BinaryMarshaler and BinaryUnmarshaler, so you can marshal and unmarshal the hash's internal state.

Update returns the result of adding the bytes in p to a running crc.

## See also

- [go-crc32](https://iinventedlight.com/library/notes/go-crc32/)
- [go-hash-fnv](https://iinventedlight.com/library/notes/go-hash-fnv/)
- [go-maphash](https://iinventedlight.com/library/notes/go-maphash/)

## Claims

- id: C1
  claim: Package crc64 implements the 64-bit CRC-64 checksum.
  source: S1
  evidence: "Package crc64 implements the 64-bit cyclic redundancy check"

- id: C2
  claim: The ISO polynomial is defined in ISO 3309 and used in HDLC.
  source: S2
  evidence: "The ISO polynomial, defined in ISO 3309 and used in HDLC."

- id: C3
  claim: Table is a 256-word table of the polynomial for efficient processing.
  source: S1
  evidence: "Table is a 256-word table representing the polynomial for efficient processing."

## Sources

- [S1] crc64 package - hash/crc64. The Go Authors. https://pkg.go.dev/hash/crc64 . License: BSD-3-Clause. Accessed 2026-11-27.

- [S2] crc64.go (source). The Go Authors. https://go.dev/src/hash/crc64/crc64.go . License: BSD-3-Clause. Accessed 2026-11-27.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: The Go Authors, crc64 package - hash/crc64; The Go Authors, crc64.go (source). BSD-3-Clause (https://go.dev/LICENSE). Copyright The Go Authors. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
