Copyright © University of Cambridge. All rights reserved.

## 'Secret Transmissions' printed from http://nrich.maths.org/

This Venn diagram shows the relationship between the check bits and the message bits. We can use this to work out which digit has been altered. Suppose we find that yacd and zbcd contain an odd number of 1s, and xabd contains an even number of 1s. We look at the intersection of y, z and not-x (any region that x isn't in), which is c. This therefore tells us that c has
been altered in transmission.