New answers tagged xor
5
Yes, you are remembering correctly. Yes, this is a reasonable method to find the key length.
The reason why this works is because, typically, the plaintext is not uniformly random. For instance, rather than a random bit-string, the plaintext might be some English text, encoded in ASCII. If $X,Y$ represent two random English letters, encoded in ASCII, ...
Top 50 recent answers are included