Sending Secret Messages Using a One Time Pad

by jmlakot in Living > Hiding Places

1525 Views, 2 Favorites, 0 Comments

Sending Secret Messages Using a One Time Pad

IMAG0318.jpg

In this lesson, we will teach you to create secret messages via the way spies did during the cold war.

Required materials:

-Paper

-Pen

-Your mind

(The picture shows the whole process layed out. Don’t worry about that right now)

(At any time you can check if you are correct by clicking this: Link)

Creating a Visual Aid

imageedit_2_3007622752.jpg

Create a letter to number chart with “A” corresponding to “0” and “Z” corresponding to “25” respectively. This will help you throughout the process of the creation of secret messages and decoding. The picture provided is an example of one.

Pick a Message You Would Like to Turn Into a Secret Message

IMAG0339.jpg

Pick a message that you would like to send. It can be anything, but one rule is no spaces can be used (Example: “the dog” = not valid). So put the words together (example: “thedog” = valid).

Now Pick a Key That Will "lock" Your Message

IMAG0340.jpg

Pick a key that you would like to use in order to transform your message into a secret message.

*Important: the key must be the same letter length as your message. For example, if your message is eight letters your key should be eight letters as well. As well as no spaces*

Convert the Message and Key to Numbers

IMAG0325.jpg
IMAG0324.jpg

Take your message as well as your key and convert them into their corresponding numbers using your number to letter chart. Examples provided in the pictures.

Add the Numbers Up

imageedit_1_9688400615.jpg

Place the original message that is converted to numbers and line them up in the first row of the grid like format and the key is the second row. Add the numbers together. (Example in picture).

*This is done like you would look at an excel or spreadsheet document. This is for visual ease.

Check If Any of the Totals Are Over 26

imageedit_4_3968551564.jpg

If there is a total over 26, subtract the number from 26. For example, if a total of 40 is obtained, you will subtract 26 from it.

Example: 40-26=14

Now Convert to the Secret Message

imageedit_4_7202298261.gif

With your secret message in numbers, you will convert the final numbers back to the corresponding letters to reveal the secret message using the letter to number chart. (example in pictures)

How to Decode

The following steps show the decoding process.

You will need:

- The key

- The secret message

- The letter to number chart

Convert Secret Message and Key to Numbers

IMAG0325.jpg
IMAG0326.jpg

To decode a secret message, first you will convert the secret message into the corresponding numbers. You will do the same thing with your key as well. You can convert the letters to numbers using the letter to number chart.

Subtract the Numbers

IMAG0333.jpg

In this step we will reverse the process from encoding which was done by addition. Thus we will need to subtract the numbers. So place the secret message numbers in the first row of the grid with the key numbers in the row below them. Subtract the numbers. Example provided in photo.

*Note that this is done using the spreadsheet method for visual ease*

Check If You Have Negative Numbers As Results

IMAG0335.jpg

If the answer is a negative number, you will then take that number and add it to 26. For example, if you receive an answer of -16, you will add 26 to it. Example: if answer = -16 : (-16) + 26 = 10

Example provided in picture.

If no results are negative, then proceed to the next step.

Convert the Resulting Numbers Back to Letters

imageedit_7_3578685592.gif

With your message in numbers, you will convert those numbers back to the corresponding letter with the letter to number chart to reveal what message was being sent originally.

Example provided above.