Skip to main content

Module crc32

Module crc32 

Source
Expand description

A cksum compatible CRC-32 Hasher.

The actual CRC calculation is done by the [crc] crate. Crc32Cksum adds special handling used by cksum. On top of it, this module provides all traits necessary for Digest, which is needed for compatibility with the other hashing algorithms.

makepkg still supports cksum’s as a legacy checksum algorithm, which we sadly have to support for backwards compatibility. In practice, nobody except a few packages in the AUR use this any longer.

Structs§

Crc32Cksum
A cksum compatible CRC-32 hasher.

Statics§

CRC 🔒
The CRC-32/CKSUM algorithm