How easy would it be to crack the code written by this computer program?

Jean-Francois

New member
I've had an idea for a computer program that can create and decipher coded messages. It's simple enough that it can be done in QBasic or C.

Here's an example of my idea:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
The coded message will just be one large number with thousands of digits.

First, make a list of thousands of numbers of same and different sizes for each character you would allow in the message (A-Z, a-z, .,', for example), and make sure there are no repeats (check the smaller numbers to make sure they're not "inside" the bigger numbers).

Make another list with thousands of numbers, of different sizes (20 digits to 50 digits). Each of these numbers will have a very long, but set pattern. The initial list will be picked at random to decide on what pattern to code the message.

This list that's picked at random will be used to determine the iterations, and then each digit is read, iterating a predetermined amount of digits each time, and each number it extracts will be translated to a single character. Short example of what I'm talking about so far:

**This would be the initial list, which a number must be picked to decide what list will be in the iterations**
1029381280938091233219820983450932
2413952497385870934532
2380945089234095823409850984325098
98605986406860986584843598
21347294782398

This will be the very first number read (or wrote) in the coded message. Let's say the last one is picked at random--21347294782398, and this number will yield the following pattern:
15, 23, 14, 12, 22, 41, 43, 23, 43........ (hundreds of numbers at least)

After the first number is read, which determines the pattern, the following 15 digits are read, which determines the first character of the message, then the next 23 will determine the second character, then the next 14 the third, etc., until the pattern is done, in which case it will repeat.


***I did consider the repeat number problem--that with so many numbers, I am bound to screw up somewhere in the deciphering, but there is a way past this. For one thing, I can create a computer program that will create such lists, and read through to make sure no number is ever inside any number of more digits. And I can actually make these numbers thousands of digits long, which would ensure no possible chance at a repeat.

When the program wants to decode a message, it will read the first so many digits until it sees what pattern to use.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

My main question:
HOW EASY IS THIS TO DECIPHER?

I'm guessing the feds or the military can probably do it pretty easily. But for the sake of playing jokes on friends, or sending secure messages you don't want others to read, this would be a good idea, because nobody's going to take the time to figure out the code to see what you wrote, unless of course, like I said, the feds.
 
Back
Top