Page 1 of 1

Didactic XOR Cipher

Posted: Tue Mar 10, 2009 2:13 am
by mcjohn
Hi,

This challenge doesn't seem hard but I'm not getting the right answer so looking for a push in the right direction. It's the one where you XOR decimal 79 with hex 3d2e212b20226f3c2a2a2b

I converted the hex to binary and broke it up into groups of 8 where I manually XOR'd them with decimal 79 (also converted to binary). Then put all that into ascii at the end but got a 9 character 'word' that made no sense. Help!
Cheers,

John

Posted: Tue Mar 10, 2009 2:22 am
by karma-fusebox
// edit: its late here -_-

just dont get the bases mixed up, it will work

and start scripting.. the following challenges are real fun to do manually

Posted: Tue Mar 10, 2009 2:51 am
by mcjohn
I've been doing the whole thing by hand; it's driving me nuts that it's not working. Adding the binary of 79 to the binary of the given string and then converting it to ascii is the (or one of) the ways this challenge can be solved, correct?

Posted: Tue Mar 10, 2009 2:54 am
by karma-fusebox
mcjohn wrote:I've been doing the whole thing by hand; it's driving me nuts that it's not working. Adding the binary of 79 to the binary of the given string and then converting it to ascii is the (or one of) the ways this challenge can be solved, correct?
just to be sure: XORing, not adding.. but then yes, you are on the right track. the solution by the way, is human-readable.

Posted: Tue Mar 10, 2009 6:21 am
by mcjohn
omg.. finally realized that the converter I used to change 3d2e212b20226f3c2a2a2b into binary didn't include all the final digits so it was actually slightly smaller than it was supposed to be.

Posted: Mon May 30, 2011 3:09 am
by Millennium
I don't know why, but I got an L instead of an R XD

Posted: Wed Nov 07, 2012 3:20 pm
by Mad Mike
I screwed it up a few times for not reading properly and forgetting to convert to hex :(

Then made it in my head, one cipher at a time. XOR-ing is not that hard.