# Significance of repetition in XOR cipher text

I'm attempting to recover plain-text ($P_1, P_2$) from two uneven cipher-text strings ($C_1, C_2$) that I suspect used the same key ($K$).

When I XOR $C_1$ and $C_2$ together to obtain ($P_1 + P_2$), there is repetition of a string of characters several times within the XOR string e.g:

.81afg.81afg.81afg.81afg.81afg.81afggyuwokjjkdjkkljlklkaiiuwqnnmc,mkhjaioqn


What is the significance of the repetition? Does it mean that a 6 character key was used and repeated across the same characters within $P_1$ and $P_2$?

-
As you said you are obtaining $P_1 \oplus P_2$. Since that's two non-random values xored together, it shouldn't come as a surprise there are patterns in the result (in fact that's what you're looking for). Most likely the first 5 groups of 6 characters of both plaintexts are being repeated. Depending on the underlying protocol (if there is any), that should give you a hint. –  rath Jan 1 '14 at 17:18

What is the significance of the repetition? Does it mean that a 6 character key was used and repeated across the same characters within $P_1$ and $P_2$?
It means that the first 6 characters of the first plaintext xored with the first 6 characters of the second plaintext results in .81afg. Furthermore, the 2nd 6 characters of the first plaintext xored with the 2nd 6 characters of the second plaintext results in .81afg. We also know where the bits in the two plaintexts are equal and where they are different, but we don't know what the bits are.