Calculate the checksum of the bytearray data using the CRC-32 algorithm. The optional initValue is the seed value for the algorithm; if omitted, a standard default will be used.