I'm playing with something currently, and I'm wondering if it's good for anything. However, I'm not blinded by its novelty.
I've just polished up something that I developed a couple 'a years back. In terms of what I present, it receives bytes, processes them into two data streams, and these streams can be remixed back into the original input.
I will present to you 3 sequences of "The quick brown fox jumped over the lazy dog". in each iteration, you will find a key, and an output series, all presented in hex {If this is a problem, just let me know, and I'll redo with Base 10 }
Your challenge, tell us how the key and out combine to make the input stream.
BTW, ask me any Yes/No question, and I'll attempt to answer to the best of my capability.
BTBTW, if you want any string to be processed thru this, I'll be glad to do it, just post away the request, but it must be a string > 7 chars in length.
OK., Here we go: the following has been edited. Hex is now Dec
Message = The quick brown fox jumped over the lazy dog
Which is = The quick brown fox jumped over the lazy dog
BTBTBTW: I'm not doing any true "Tricks". No XOR's or any logical ops on bytes. This is true math, albeit..., err, well, I'll let that be one of the 20+.
also, I'm not doing any misleading, although I had built that into my version from 1 or 2 years ago... ie... I'm not doing any... well, I can't go on, until someone asks the right question. Once a certain math technique involved is exposed, then I can say what I'm not now doing.
-Lou
Last edited by NotLKH; Apr 14th, 2003 at 07:06 AM.
Which is = The quick brown fox jumped over the lazy dog
As you may have noticed, a string can split into multiiple different pairs of Key strings and Out {Or, possibly Lock} Strings. Each individual pair does combine directly back into the input string.
Also, since I don't want to confuse you, the InStr strings are just the Byte values of the Input message being encoded.
And, the ?InStr? string is what my system interprets the Key/Out pair into. And, hopefully, ?InStr? == InStr.
Given a table, 8 cells tall, {Lets say the Y direction}
The Table is Len(Input string, in this case, "The quick brown ...") {Lets say the X direction}
The KeyStr, if you've noticed, contains only the values 0 thru 7.
Take these values to represent a Y. The X, obviously, is the position that the Y has been taken from in the KeyStr, ie... if the 3rd value in a KeyStr is 6, then Y = 6, X = 3.
So, in your table, At (X,Y) = (3,6), you must put a value.
Looking at the value at position 3 in the MyOut string, you will find a value somewhere from 0 to 255. This is the value placed at (3,6).
There have been 6 sets of Keys and Outs given for "The quick brown...". Use each pair and fill a single table with all the pairs.
You will see that, if there is a value at some position in one key, and the same value is at the same position in an other key, then both OutStr's will have matching values at the same position.
So, All the Keys and Outs can be mapped to a single table.
There should be enough cells that are filled in for you to detect a pattern to how the numbers in the table relate to each other.
Once you see this pattern, then you should be able to completely fill the tables empty cells.
Here is how such a table would look like, mapping out some of the data from the 6 sets of Key/Out pairs provided:
Also, eventually, once you have the table filled, then look at the byte values of the original string, and see if you can find it in the table.
Once thats been done, you should then know HOW a single key string and its matching Out Str can be combined to create the input string.
So,
Given A pair of Key/Out strings, how do you build the table
Now, again, this is 20 questions.
Ask me something.
Last edited by NotLKH; Apr 14th, 2003 at 03:04 PM.
So, give me an hour or so, I'll get you started in the right direction with an illustration of how I think you should approach tabulating the data into a coherent structure.
BTW, I've just edited my first post, replacing the Hex encodings to Dec encodings.
cool NotLkH,
is this what is generally referred to as a mixed alphabet? give me a couple of hours im a bit busy now.
it looks like a damn interesting prob to solve! so you're into encryption huh? check this page out: Similar Challenging Prob
get in touch if you manage to solve it.
One thing that sustains me through life is the conciousness of the immense inferiority of everyone else
--Oscar Wilde