The below is the cipher that is to be cracked :
40 77 77 60 6b 6e 29 69 73 19 6b 69 75 6d 2f 29 67 30 7c 73 75 6e 75 2c 70 20 74 26 74 68 6b 6c 70 67 66 27 66 28 69 5e 27 7a 68 63 6b 82 27 29 28 -de
- -de is a termination character and is not part of the message.
- this ciphertext is in hexadecimal (base 16)
- ASCII values were used along with multiple shifts to derive the cipher-text.
Clues are in descending order of how much they reveal. Read only till where necessary.
A maximum of 8 shifts are possible which may or may not have unique values. The actual number of shifts used may or may not be lesser than 8, it depends on certain fixed rules.
the exact shift to be used depends upon the position of the char.
mathematical number-series are used along with position value to determine shift used.
6 such series are used, of which 2 concern shape, and two are some of the most popular.
The two lesser known series are the Catalan number series and the Lucas number series.
If none of the 6 series are satisfied, position is checked for odd/even.
All six series are - Catalan , Fibonacci, Lucas, Pentagon, Hexagon, Prime, and if not odd/even.
These series are checked one after the other, and if a match is found, the next is not checked.
Finally, this is the C implementation of the methodology used to generate this cipher.
Note : This cipher text as well its C implementation have changed since this question was posted, however, the link to it still redirects to v2.0. It is currently at v3.0 , which you may look at here.