createCrc64(polynomial: bigint): (data: Uint8Array) => bigint
Creates a CRC64 function for the given polynomial.
Uses init=0xffffffffffffffff and xor=0xffffffffffffffff. With
CRC64_ECMA_POLYNOMIAL this matches CRC-64/XZ; other catalogue variants
(notably CRC-64/ECMA-182 proper, which uses init=0/xor=0) need different
init/xor. BigInt is used for 64-bit precision.
(data: Uint8Array) => bigint
A function that calculates CRC64 for given data