Introduction
Welcome! Here you can find hardware-accelerated implementation of CRC-32C (Castagnoli) for Windows (C++ and .NET).
Intel’s CRC32 instruction is used if available. Otherwise this library uses super fast software fallback.
.NET Framework doesn’t provide any CRC algorithms and existing opensource libraries contain suboptimal algorithms. Creating really fast CRC algorithm is hard. This library encapsulates all that complexity for you and offers you a neat, simple API, so that every application can now afford fast CRC algorithm.
Note on CRC variants
Don’t confuse CRC-32C (Castagnoli) with the older CRC-32 (also called CRC-32-IEEE). As you might know, CRC algorithm is defined by its so-called polynomial, essentially a 32-bit number. CRC-32C’s polynomial can be seen in the box to the right.
Advantages of CRC-32C
The polynomial in CRC-32C was shown to have better error detection properties, which is the reason for its adoption in newer standards (iSCSI, SCTP, ext4).
Aside from higher reliability, CRC-32C now has the advantage of dedicated instruction on newer Intel processors. That’s why it is being chosen for high-performance applications, for example Snappy compression algorithm.
Download
Continue to download section.