Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Adler-32 is a
checksum algorithm which was invented by Mark Adler in 1995, and is a
modification of the Fletcher checksum. Compared to a cyclic redundancy
check of the same length, it trades reliability for speed. Adler-32 is
more reliable than Fletcher-16, and slightly less reliable than
Fletcher-32. The Adler-32 checksum is part of the widely-used zlib
compression library, as both were developed by Mark Adler. A "rolling
checksum" version of Adler-32 is used in the rsync utility.An Adler-32
checksum is obtained by calculating two 16-bit checksums A and B and
concatenating their bits into a 32-bit integer. A is the sum of all
bytes in the string plus one, and B is the sum of the individual values
of A from each step.