Difference between revisions of "Cyclic redundancy check"

From Computer History Wiki
Jump to: navigation, search
(A start)
 
(Typo,slight expansion)
Line 1: Line 1:
 
A '''cyclic redundancy check''' (usually abbreviated to '''CRC''') is a mechanism for detecting (and sometimes repairing) errors in data. It is used to make sure that data stored in [[main memory]], or on [[secondary storage]], is not corrupted; and for data which is transmitted over a network (e.g. an [[Ethernet]]), to make sure that the data is not damaged in transmission. It is a more sophisticated modern successor to [[parity]].
 
A '''cyclic redundancy check''' (usually abbreviated to '''CRC''') is a mechanism for detecting (and sometimes repairing) errors in data. It is used to make sure that data stored in [[main memory]], or on [[secondary storage]], is not corrupted; and for data which is transmitted over a network (e.g. an [[Ethernet]]), to make sure that the data is not damaged in transmission. It is a more sophisticated modern successor to [[parity]].
  
It consists of the output of a polynomial function applied to the values in a block of data, and then attached to the data. Depending on the particular algorithm, and the size of the stored checksum, it may be possible to repair some errors. A typical CRC might be able to repair 1-[[bit]] errors, and detecy any 2-bit error.
+
It consists of the output of a polynomial function applied to the values in a block of data, and then attached to the data. Depending on the particular algorithm, and the sizes of the data item being protected, and the stored checksum, it may be possible to repair some errors. A typical CRC on memory [[word]]s might be able to repair 1-[[bit]] errors, and detect any 2-bit error.
  
 
{{stub}}
 
{{stub}}

Revision as of 14:22, 14 June 2018

A cyclic redundancy check (usually abbreviated to CRC) is a mechanism for detecting (and sometimes repairing) errors in data. It is used to make sure that data stored in main memory, or on secondary storage, is not corrupted; and for data which is transmitted over a network (e.g. an Ethernet), to make sure that the data is not damaged in transmission. It is a more sophisticated modern successor to parity.

It consists of the output of a polynomial function applied to the values in a block of data, and then attached to the data. Depending on the particular algorithm, and the sizes of the data item being protected, and the stored checksum, it may be possible to repair some errors. A typical CRC on memory words might be able to repair 1-bit errors, and detect any 2-bit error.