The BSD checksum is a legacy checksum algorithm implemented in early BSD Unix systems and still available through the sum command-line utility. It computes a 16-bit checksum by processing the input one byte at a time, applying a circular right rotation of one bit to the running accumulator before adding each new byte, a step meant to reduce the weaknesses of simple addition-based checksums. The algorithm offers no security guarantees and detects errors less reliably than CRC-32, so it survives mainly as a legacy option in older Unix tooling rather than for serious integrity checking. This description is adapted from Wikipedia contributors under CC BY-SA 4.0; changes were made. https://creativecommons.org/licenses/by-sa/4.0/
Sources
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.