JFLib

img_core/checksum.rs#

Source: lib/img_core/checksum.rs

checksum -- CRC-32 (zlib / PNG polynomial) and Adler-32

Both live in jflib-compress since 0.2.2 (compress::crc32, compress::adler32); img_core keeps
the names of before.

  crc32(crc, data) -> u32        start with crc = 0 (like zlib's crc32())
  adler32(adler, data) -> u32    start with adler = 1

Re-exports: compress::{adler32, crc32}

Source: docs/API.md in the JFLib repository.