![]() |
DS3 .NET Software Development Kit
3.0.0
Provides access to the Spectra Logic DS3 API through .NET.
|
Implements a 32-bit CRC hash algorithm More...
Static Public Member Functions | |
static new Crc32 | Create () |
![]() | |
static UInt32 | Compute (byte[] buffer) |
static UInt32 | Compute (UInt32 seed, byte[] buffer) |
static UInt32 | Compute (UInt32 polynomial, UInt32 seed, byte[] buffer) |
Public Attributes | |
new const UInt32 | DefaultPolynomial = 0xedb88320u |
![]() | |
const UInt32 | DefaultPolynomial = 0x82F63B78 |
const UInt32 | DefaultSeed = 0xffffffffu |
Additional Inherited Members | |
![]() | |
CrcHasher (UInt32 polynomial, UInt32 seed) | |
override void | Initialize () |
![]() | |
override void | HashCore (byte[] array, int ibStart, int cbSize) |
override byte[] | HashFinal () |
![]() | |
UInt32 | polynomial |
![]() | |
override int | HashSize [get] |
Implements a 32-bit CRC hash algorithm
Crc32 should only be used for backward compatibility with older file formats and algorithms. It is not secure enough for new applications. If you need to call multiple times for the same data either use the HashAlgorithm interface or remember that the result of one Compute call needs to be ~ (XOR) before being passed in as the seed for the next Compute call.