The CRC (Cyclic Redundancy Checksum) algorithm is a highly optimised and powerful way of checking whether a large
number of bytes have been modified or not. The algorithm scans through all the bytes and generates a 32 bit number
to represent the contents - small changes in the file contents result in large changes in the check sum, and there
is a very low chance that two different streams of bytes will have the same CRC. This article provides a high
performance class for generating a WinZip compatible CRC32 checksum in .NET (VB.NET and C# versions provided). The sample also demonstrates using the Framework's Cryptography classes to generate SHA-1 and MD5 hashes.
Last Updated: 23 October 2003