Changes to Cyclic redundancy check

TechWritereditor · 4 Dec 2026, 04:24 · “New page”

+ added − removed (first version)

Title

Removed:  
Added: Cyclic redundancy check

Short description

Removed:  
Added: Error-detecting code used in networks and files

Type

Removed:  
Added: technology

Summary

Removed:  
Added: A cyclic redundancy check (CRC) is a short check value, calculated by polynomial division, that is attached to digital data so that accidental changes can be detected. CRCs are used in network protocols such as Ethernet and in file formats such as PNG.

Fact box

Removed:  
Added: Type: Error-detecting code
Added: Described by: W. Wesley Peterson and D. T. Brown (1961)
Added: Method: Binary polynomial division
Added: Common variant: CRC-32 (Ethernet, PNG)
Added: Used in: Network protocols, file formats

Article

Added: **Cyclic redundancy check** (CRC) is a method of detecting accidental errors in digital data. The sender calculates a short check value from the data and sends it along; the receiver repeats the calculation and, if the results disagree, knows the data was damaged on the way.[^1][^2]
 
Added: ## How it works
Added:  
Added: The data bits are treated as the coefficients of a polynomial, and sender and receiver agree in advance on a divisor called the generator polynomial.[^1][^2] The sender appends extra check bits chosen so that the whole message divides evenly by the generator, using arithmetic in which subtraction is the logical exclusive-or (XOR) operation.[^1] The receiver divides what arrives by the same polynomial: a remainder of zero suggests the data is intact, while any other remainder signals an error.[^1][^2] With a well-chosen generator, a CRC catches all single-bit and double-bit errors, any odd number of errors, and any "burst" of consecutive damaged bits shorter than the check value.[^1][^2] The calculation is simple to build in hardware from a shift register and a few XOR gates.[^1]
Added:  
Added: ## History
Added:  
Added: Cyclic codes for error detection were described by W. Wesley Peterson and D. T. Brown in a paper in the Proceedings of the IRE in January 1961.[^3] The paper explained these codes in terms of polynomials and described the equipment needed to build error-detection systems with them.[^3] Peterson later received the 1999 Japan Prize for establishing coding theory for reliable digital communication, broadcasting and storage.[^4]
Added:  
Added: ## Uses
Added:  
Added: CRCs are used in nearly all link-level network protocols; [[Ethernet]], for example, protects each frame with a 32-bit CRC.[^1] They detect errors more strongly than the simple Internet checksum, which is easier to compute in software but misses some error patterns.[^1] The PNG image format attaches a 32-bit CRC to every chunk of a file to detect corruption, using the same polynomial as the GZIP compression format.[^5]
Added:  
Added: ## See also
Added:  
Added: - [[Hamming code]]
Added: - [[Richard Hamming]]
Added: - [[Ethernet]]
Added: - [[TCP/IP]]

Sources

Removed:  
Added: 2.4: Error Detection (Computer Networks: A Systems Approach) | https://eng.libretexts.org/Bookshelves/Computer_Science/Networks/Computer_Networks_-_A_Systems_Approach_(Peterson_and_Davie)/02%3A_Direct_Connections/2.04%3A_Error_Detection | LibreTexts
Added: Direct Link Networks – Error Detection and Correction (CS 438 lecture) | https://courses.grainger.illinois.edu/cs438/sp2019/lectures/errors.pdf | University of Illinois Urbana-Champaign
Added: Cyclic Codes for Error Detection | https://www.scilit.com/publications/291d054d5a7a9c0f9d0eef69150492ca | Scilit (record of Proceedings of the IRE, vol. 49, no. 1) | 1961-01-01
Added: Japan Prize Laureates: W. Wesley Peterson (1999) | https://www.japanprize.jp/en/prize_prof_1999_peterson.html | The Japan Prize Foundation
Added: Portable Network Graphics (PNG) Specification (Third Edition) | https://www.w3.org/TR/png/ | World Wide Web Consortium | 2025-06-24

Categories

Removed:  
Added: Computer networks
Added: Data storage

Other names

Removed:  
Added: CRC
Added: CRC-32
Added: Polynomial code checksum