changed to apple implementation of crc32