Slide 4 of 27
Notes:
Notice that the key has to be in the length of the message.
C xor K = (M xor K) xor K = M xor 0 = M