Skip to content

crc_64

crc_64(data, options?): bigint

Defined in: checksum/crc_64.ts:35

Computes a 64-bit CRC of data (CRC-64/XZ by default).

Uses bigint arithmetic, so it is markedly slower than crc_32 — use it when a 64-bit checksum is required, not as a general-purpose choice.

Complexity: O(n) in the byte length of data.

Uint8Array

The bytes to check.

Crc64Options

bigint

An unsigned 64-bit checksum.