/crc32c.net

Hardware-accelerated CRC-32C (Castagnoli) algorithm with fast software fallback for .NET developers.

Primary LanguageC#BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

CRC-32C (Castagnoli) for .NET

UNMAINTAINED: This library is no longer maintained, because I rarely use Windows or C++ these days. It has not been updated in years. You are welcome to adopt the library if you find it useful.

This is a hardware-accelerated implementation of CRC-32C (Castagnoli) for .NET. Intel's CRC32 instruction is used if available. Otherwise this library uses fast software fallback. Actual CRC-32C algorithm is implemented in C++. .NET wrapper transparently routes calls to native code.


uint crc = Crc32CAlgorithm.Compute(array);