Friday, November 30, 2007

Adler-32 checksum calculation - C# Algorithms

Adler-32 checksum calculation - The Code Project - C# Algorithms

Download CheckAdler_Doc.zip - 83.0 KB
Download CheckAdler_Src.zip - 2.1 KB
Download CheckAdler_Test.zip - 106.7 KB
Introduction
Checksums are a common way to ensure data integrity. Adler-32 checksum may be used for revealing the damaged files or compare two files for identity.
Background (from en.wikipedia.org)
Adler-32 is a checksum algorithm which was invented by Mark Adler. It is almost as reliable as a 32-bit cyclic redundancy check for protecting against accidental modification of data, such as distortions occurring during a transmission. ....