Hamming code
Quick Summary
The Hamming code is a type of forward error control (FEC) used in telecommunications to correct errors that occur during transmission. Invented by Richard Wesley Hamming in 1950, it adds redundant bits, called parity bits, to information bits. This redundancy allows the receiver to detect and correct single-bit errors without needing to retransmit the message.12
For example, a Hamming code can protect a four-bit information signal by adding three redundant bits, creating a seven-bit code word. Each parity bit is calculated to ensure an even number of ones in specific groups of bits. If an error occurs, recomputing these parity checks helps pinpoint and correct the faulty bit. This method is crucial for reliable communication in various applications, including satellite and computer networking.1
Ask Britannica AI about this topic
Britannica doesn't have a full article on this topic, so we've curated a list of our relevant coverage.
