1. 校验和:
校验和是一种广泛使用的数据错误检测方法。这种方法比其他检测错误的方法更可靠。这种方法在发送方使用校验和生成器,在接收方使用校验和检查器。
1. CRC :
CRC 或循环冗余校验是检测错误的错误检测方法,上层协议使用此方法。它在发送方和接收方都包含多项式生成器。多项式生成器的类型为 x 3 +x 2 +x+1。
校验和和 CRC 之间的区别:
S.No. | Checksum | CRC |
---|---|---|
1. | It is not a thorough concept for detection nd reporting of errors. | CRC is a thorough concept for detection and reporting of errors. |
2. | It is capable of detecting single bit change in the data. | It is capable of detecting double digits errors. |
3. | This method comes after CRC method. | It is the oldest method. |
4. | Errors can be easily computed. | It follows a complex computation method. |
5. | It can compute less number of errors than CRC. | Due to complex computation, it can detect more errors. |
6. | It is based on addition approach. | It is based on hash approach. |
7. | It is widely used in data validation during implementation of software. | It is widely used in analog transmission for data validation. |