Topic summary
Error-detecting code

Extracted from the Wikipedia article Error detection and correction.
Error correction code
Codes with minimum Hamming distance d = 2 are degenerate cases of error-correcting codes and can be used to detect single errors. The parity bit is an example of a single-error-detecting code.