2013-09-22, 09:00 PM
I've done something similar for a class, but we were effectively encoding/decoding based on null cyphers. Basically it would take an input file and add a random character at specified intervals and reverse the process given the interval used to encode it.
What you first need to do is decide on a (de)coding method then start asking yourself how do I reverse it?
For something like the example paragraph, you run a while loop to check characters from the input file against a list of known code phrases. If the input phrase matches a code phrase, replace the original with the translated.
Let me know if you need more specific instructions on implementing the character checks.
What you first need to do is decide on a (de)coding method then start asking yourself how do I reverse it?
For something like the example paragraph, you run a while loop to check characters from the input file against a list of known code phrases. If the input phrase matches a code phrase, replace the original with the translated.
Let me know if you need more specific instructions on implementing the character checks.

