CRC32 checksums

Why are the checksums from CRCR32c.crc32c in the Standard Library different from the ones I get from the linux crc32 command? Documentation suggests that they are both using the same algorithm.

crc32c computes the CRC32c checksum, which is not the same thing as the CRC32 checksum (computed by crc32 on the command-line). For the latter, use the CRC32.jl package.

See e.g. CRC32 vs CRC32c on stackoverflow, or the discussion of the Castagnoli (C) polynomial in the CRC wikipedia article.

2 Likes

Ahh. Thanks!