VS 2005 does not include the crc32 checksum in their crypto library and I was wondering if anyone knows where I could find a very fast algorithm. I currently have three different algorithms but none of them are much faster than Md5. I know for a fact that the crc32 is much faster than md5 but I can't seem to find one that has been coded in the same manner. It has to be able to hash files.

Hi,

I can provide you a C# implementation of CRC32. (you can easily find one googling too) But if the speed is of essence (making managed MD5 unusable) you might prefer to use a native code CRC32 DLL through Platform Invoke [P/Invoke].

Loren Soth

I have recently written a version in C and imported it through a dll. It was about 3x faster. Thanks for the help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.