Original Post
Is anyone a hobbyist cryptanalyst? I have a situation where I have a set of original unencrypted data, and the encoded versions of the same data, and I want to use these two sets to figure out how they were encoded. But I have no idea how to do that.
Here's what the data looks like:
- Both the original data and the encoded data are 16 characters long (I'm referring to them as A through P).
- Every 'message', whether original or encoded, has one of each character (one A, one B, one C, etc.) The encoding only changes the order they are in. The code is not a simple rotation though.
- For each original message there is only one possible encoded version. I don't know if the same is true in reverse.
- I have 1024 examples of original message and their encoded versions.
- Example 'message' and encoded 'message':
NOPM-ABCD-EFGH-IKJL -> HGFE-NOPM-IJKL-BCDA
So, what strategy could I use to find the encryption algorithm from my samples? As a first step, I am making a list of all the original messages next to all the encoded versions, but I don't know what to do after that besides the half-assed approach of color-coding the data and hoping a pattern jumps out at me.
Here's what the data looks like:
- Both the original data and the encoded data are 16 characters long (I'm referring to them as A through P).
- Every 'message', whether original or encoded, has one of each character (one A, one B, one C, etc.) The encoding only changes the order they are in. The code is not a simple rotation though.
- For each original message there is only one possible encoded version. I don't know if the same is true in reverse.
- I have 1024 examples of original message and their encoded versions.
- Example 'message' and encoded 'message':
NOPM-ABCD-EFGH-IKJL -> HGFE-NOPM-IJKL-BCDA
So, what strategy could I use to find the encryption algorithm from my samples? As a first step, I am making a list of all the original messages next to all the encoded versions, but I don't know what to do after that besides the half-assed approach of color-coding the data and hoping a pattern jumps out at me.