Calculates CRC checksums for input data.