1. Checksum :
Checksum is the widely used method for the detection of error in data. This method is more reliable than other methods of detection of errors. This approach uses Checksum Generator on Sender side and Checksum Checker on Receiver side.
1. CRC :
CRC or Cyclic Redundancy Check is the error detection method to detect the errors and this method is used by upper layer protocols. It contains Polynomial Generator on both sender and receiver side. The polynomial generator is of the type x3+x2+x+1.
Difference between checksum and 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.|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Implementing Checksum Using Java
- Calculation of TCP Checksum
- Error Detection Code - Checksum
- Difference between Stop and Wait, GoBackN and Selective Repeat
- Difference between Stop and Wait protocol and Sliding Window protocol
- Similarities and Difference between Java and C++
- Difference between Yaacomo and and XAP
- Difference between VoIP and and POTS
- Difference and Similarities between PHP and C
- Difference between Time Tracking and Time and Attendance Software
- Difference Between Single and Double Quotes in Shell Script and Linux
- Difference between ++*p, *p++ and *++p
- Difference Between DOS and Windows
- Difference between User Level thread and Kernel Level thread
- What’s difference between The Internet and The Web ?
- Difference between Priority Inversion and Priority Inheritance
- What’s difference between Linux and Android ?
- What’s difference between header files "stdio.h" and "stdlib.h" ?
- Difference between HTML and HTTP
- Difference between http:// and https://
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.