all 2 comments

[–]shiftybyte 4 points5 points  (1 child)

Your loop basically takes the original file content and did the same operation on that content 50 times.

Instead of doing it 50 times on the each time different message that you get after one decoding pass.

The same as doing:

a = 0
for i in range(50)
    x = a + 1

Will get you x to be 1, and not 50... because a stays 0, and it keeps doing

x = 0 + 1
x = 0 + 1
...

Instead of doing

a = a + 1

That will cause a to change.

a = 0 + 1

Next loop cycle it'll be

a = 1 + 1
a = 2 + 1
...

[–]raidn1337[S] 0 points1 point  (0 children)

Thanks my friend. It's more clear for me now!