Search found 1 match

by Miyazawa
Mon Jul 02, 2018 6:41 pm
Forum: Challenges
Topic: Didactic Feedback Cipher
Replies: 23
Views: 45046

aurquiel wrote:In this code

Code: Select all

k = {unknown byte}
for (i = 0; i < len(txt); i++)
  c = txt[i] ^ k
  print c
  k = c
This

Code: Select all

k = c


should be this

Code: Select all

k = txt[i]
It is true! Thank you @aurquiel.
The algorithm is wrong so I have wasted a lot of time by doing this challange...
You should correct this...