Std.Checksum.crc32
1 declaration
fn
crc32: &Bytes -> UInt32The CRC-32 of the bytes, as zip, gzip, and PNG compute it.
A checksum catches accidents — a flipped bit, a truncated transfer — and nothing else. Anyone who can change the data can change the checksum to match, so a value that must resist tampering is a question for Std.Crypto.
