How to Write an Unbreakable Code
Write the message at the top of a piece of paper., Convert it into numbers., Write down the letters of the one-time pad underneath., Convert the key into numbers., Add together the corresponding numbers to get the codetext., For every number over...
Step-by-Step Guide
-
Step 1: Write the message at the top of a piece of paper.
Our message is hello. , Hello becomes 8 5 12 12
15. , You only need as many letters as there are in the message.
Using our one-time pad, these are abgsd.
This is the key. , The key is now 1 2 7 19
4. , Add the first letter of the message to the first letter of the key, second to second, etc.
Our codetext is 9 7 19 31
19. , Our codetext becomes 9 7 19 5
19. , Our codetext message is IGSES. , This is why it is a one-time pad: each part is used once.
If it's written on paper, tear it off and burn it.
Our one-time pad is now peycnghf. , -
Step 2: Convert it into numbers.
-
Step 3: Write down the letters of the one-time pad underneath.
-
Step 4: Convert the key into numbers.
-
Step 5: Add together the corresponding numbers to get the codetext.
-
Step 6: For every number over (not equal to) 26
-
Step 7: subtract 26.
-
Step 8: Convert back into letters.
-
Step 9: Destroy the part of the one-time pad that you used.
-
Step 10: Send the message.
Detailed Guide
Our message is hello. , Hello becomes 8 5 12 12
15. , You only need as many letters as there are in the message.
Using our one-time pad, these are abgsd.
This is the key. , The key is now 1 2 7 19
4. , Add the first letter of the message to the first letter of the key, second to second, etc.
Our codetext is 9 7 19 31
19. , Our codetext becomes 9 7 19 5
19. , Our codetext message is IGSES. , This is why it is a one-time pad: each part is used once.
If it's written on paper, tear it off and burn it.
Our one-time pad is now peycnghf. ,
About the Author
Lisa Parker
Experienced content creator specializing in DIY projects guides and tutorials.
Rate This Guide
How helpful was this guide? Click to rate: