The cyclic redundancy check calculation function of CRC8, CRC16, CRC32 and crc64 is provided to detect or verify possible errors after data transmission or saving. It uses the principle of division and remainder to detect errors. When calculating, pay attention to different algorithms (including polynomial, initial value, whether to reverse, etc.), and the calculation results will be different.
Cyclic Redundancy Check,( CRC)is a channel coding technology that generates short fixed digit check code according to network data packets or computer files. It is mainly used to detect or check the possible errors after data transmission or storage. It uses the principle of division and remainder to detect errors. This tool supports online calculation of CRC8, CRC16, CRC32 and CRC64.
- Input Content:support string, hex and Base64. When the input content is string, the character set parameter is valid. The UTF-8 character set is compatible with the ASCII character set. Only enter the characters to be calculated, and do not include redundant spaces. When the input content is hex, redundant spaces are automatically removed, and there is no need to enter the prefix 0x character.
- Upload File: click upload file to calculate the CRC value of the file. The maximum file size is 5MB. The file content will be automatically converted to hex string, and the content type will be automatically set to hex.
- Algorithm:select CRC calculation algorithm, and other parameters will be automatically read according to the selected algorithm without setting.
- Bit Width:Number of bits of CRC check result.
- Polynomial formula:The abbreviation of the generated formula, expressed in hexadecimal. Ignore the highest "1".
- Initial Value：The initial preset value of the algorithm,expressed in hexadecimal.
- REFIN:Whether each byte of input data is reversed by bit.
- REFOUT:Whether the whole data is reversed bit by bit after calculation and before the result is output.
- XOROUT:The final CRC value is obtained after the calculation result XOR with this parameter.
Table of common CRC parameters
|Algorithm||Polynomial Formula||Bit Width||Polynomial||Initial Value||XOROUT||REFIN||REFOUT|