# Code Cracking 1984

This is a code from an old home computer magazine. Still it is unknown the cipher used for it, although they gave the solution:

145 211 145 185 255 186 112 88
183 174 224 34 145 126 226 178
51 207 191 129 188 234 4 191
199 175 178 243 197 16 118 43
210 198 166 241 237 194 211 94
213 171 252 246 233 178 12 218
210 203 172 129 133 219 23 186
206 170 203 141 126 246 117 203
190 250 212 206 22 160 197 161
182 183 246 20 53 141


Edit: The solution is:

"Behind every good programmer there stands an Atari computer. Congratulations!"

• Are you asking people to try and solve it, or are you asking what cipher they used? If the latter, posting the solution (which you imply you know) would help reverse engineer it... – Alconja Dec 13 '17 at 0:10
• The idea is to find out the cipher used. – devwebcl Dec 13 '17 at 1:45
• Hmm.. weird that the cipher text is one number longer than the number of characters in the solution (or one shorter if you count the "s)... – Alconja Dec 13 '17 at 2:18
• A quick search turned up this image of the original contest, which has a little more information (found it on an atariage.com thread asking a similar question) if it's useful for anyone trying this – user40308 Dec 13 '17 at 8:55
• 211-145 or 211^145 is B. – Carl Löndahl Mar 8 '18 at 22:09

• The cipher relies on some state, that you initialize and then update each time a character is produced, for example start with $st=145$ and then at each step you read $c$, output $st-c$ (works for 1st letter "B"), and update $st$ (tried a few things but didn't find something coherent for the second letter.
• The cipher is a block cipher, and they needed to pad the message to reach the block size. $78=2*3*13$ so the block size can be one of $2,3,6,13,26,39,78$.
I tried with size $2$, hence trying to decode "145 211" into "Be", it looks like "B" is $211-145$ and "e" is $145+211$ (everything done mod 255), but this doesn't give anything for second couple of chars.