Didactic Feedback Cipher
- sabretooth
- Posts: 61
- Joined: Sun Jul 12, 2009 3:13 pm
Haha, I've been using these crypto chalanges as motivation and goal setting for learning my way through c++ . I spent some time on this one thinking the wrong way, and the output my code gave me (as a modified version of other programs I wrote for cyphers) just underlined that mistake.... made me laugh.
- TheBigBoss
- Posts: 29
- Joined: Thu Jun 07, 2012 12:07 pm
- Location: Germany
In this code
This
should be this
Code: Select all
k = {unknown byte}
for (i = 0; i < len(txt); i++)
c = txt[i] ^ k
print c
k = c
Code: Select all
k = c
should be this
Code: Select all
k = txt[i]
It is true! Thank you @aurquiel.aurquiel wrote:In this code
ThisCode: Select all
k = {unknown byte} for (i = 0; i < len(txt); i++) c = txt[i] ^ k print c k = c
Code: Select all
k = c
should be this
Code: Select all
k = txt[i]
The algorithm is wrong so I have wasted a lot of time by doing this challange...
You should correct this...
I don't think there is problem with the challenge.Miyazawa wrote:It is true! Thank you @aurquiel.aurquiel wrote:In this code
ThisCode: Select all
k = {unknown byte} for (i = 0; i < len(txt); i++) c = txt[i] ^ k print c k = c
Code: Select all
k = c
should be this
Code: Select all
k = txt[i]
The algorithm is wrong so I have wasted a lot of time by doing this challange...
You should correct this...
What "a lot of time" roughly means in SI units?
Never mind, you have already solved the puzzle.