I wrote an application that encrypts text in this way:
Get the input text
Reverse the text
Convert to hexadecimal
I think you should start by reading The Code Book. What you are asking is how to crack encryption methods and that will give you a start as to how they work.