Login Register


[Challenge] Break repeated-key XOR. filter_list
Author
Message
RE: [Challenge] Break repeated-key XOR. #6
(10-04-2013, 03:46 PM)w00t Wrote: I thought about doing it the lazy way( just iterating through XORing the remainder of the text w/ the first n bytes ), but I'm unsure if I'm missing something obvious that would make it easier.

You could do that, but when it comes to analysing each N-sized block, you will find that it's actually counterproductive; it will take up more time rather than saving some.
You can determine the correct key-length by computing the Hamming distance between the first key-length worth of bytes and the second key-length worth of bytes. Normalise the result by dividing by key-length. This is the first step to tackling this.
If you would like anymore tips or have any questions regarding how to proceed further, feel free to ask.
[Image: 8Yoto.png]

Reply





Messages In This Thread
[Challenge] Break repeated-key XOR. - by Phizo - 10-02-2013, 01:09 PM
RE: [Challenge] Break repeated-key XOR. - by Oni - 10-04-2013, 05:46 AM
RE: [Challenge] Break repeated-key XOR. - by w00t - 10-04-2013, 03:46 PM
RE: [Challenge] Break repeated-key XOR. - by Phizo - 10-04-2013, 04:19 PM



Users browsing this thread: