Calculates CRC-32 checksum.
A data to calculate checksum.
Size of AData in bytes.
CRC-32 checksum of the specified AData.
A cyclic redundancy check (CRC) is an error-detecting code commonly used in digital networks and storage devices to detect accidental changes to raw data. CRCs are based on the theory of cyclic error-correcting codes. CRCs are popular because they are simple to implement in binary hardware, easy to analyze mathematically, and particularly good at detecting common errors caused by noise in transmission channels.
Numerous varieties of cyclic redundancy checks have been incorporated into technical standards. CRC32Hash function uses CRC-32-IEEE 802.3 algorithm. Polynomial is $EDB88320. Starting value is $FFFFFFFF. For example, this implementation matches PHP's implementation of CRC-32.