Crc32.NET
Crc32.NET copied to clipboard
Fast version of Crc32 algorithm for .NET
The addition of Span in .NET Core 2.1 can offer some performance improvements moving through the array in SafeProxy by reducing the number of arithmetic operations. .NET Core 3.0 also...
It looks like .NET Core 3 supports hardware intrinsics and has support for CRC32C: https://github.com/dotnet/designs/blob/master/accepted/platform-intrinsics.md _mm_crc32_u64 https://github.com/dotnet/coreclr/blob/master/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.cs Would be great if the library could use this eventually when the instructions...
Hi, Like the title says, how do I use this library to calculate hashes for files? Thanks for any help.
as-is ```csharp var crc = CrcAlgorithm.CreateCrc16CcittFalse(); // Give it some bytes to chew on - you can call this multiple times if needed crc.Append(Encoding.ASCII.GetBytes("Hurray for cake!")); // Get the output...
Support CRC32/MPEG2 ? > Result = 0x81972D5B Check = 0x0376E6E7 INIT = 0xFFFFFFFF POLY = 0x04C11DB7 XorOut = 0x00000000 REFIN = false REFOUT = false
Hi, How to calculate CRC32A (ITU I.363.5) checksum by using this library?
I was wondering if you could add support for FileStream (or Stream in general)? Since we usually use files for computing the CRC, I find it annoying to load the...
Would it be possible to add support for calculating the crc of `ReadOnlySpan` and `ReadOnlySequence`
I need to calculate a crc32 checksum with LSB bit-ordering and a start value of 0xFFFFFFFF. This seems to be impossible with this library. By using the `public static uint...
Latest .NET frameworks have better support for hardware-accelerated CRC32 implementations: - CRC32C polynomial: - Intel CPUs supporting SSE4.2 - ARM CPUs since ARMv8.1 - CRC32 polynomial: - ARM CPUs since...