3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Encrypt a message using matrixes

Encrypt a message using matrixes
Well, it seems that you can use matrices to encode a secret message. That is pretty self-explanatory, so I'll stop writing here and go on to step 1.

Oh, wait, I came back to the introduction. You don't need a graphing calculator, but if you just so happen to have a TI 84+, I have a program that may help you out.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Letters to Numbers

Letters to Numbers
Actually, two things happen in this step. First off, you need to find a message worthy of undergoing this encryption. This may be difficult if you are just here because you find secret codes awesome, but have no secrets.

Ok, now that you have your message, you need to convert it to numerical format. An underbar (_) is a space ( ).

0 = _
1 = A
2 = B
3 = C
4 = D
5 = E
6 = F
7 = G
8 = H
9 = I
10 =J
11 = K
12 = L
13 = M
14 = N
15 = O
16 = P
17 = Q
18 = R
19 = S
20 = T
21 = U
22 = V
23 = W
24 = X
25 = Y
26 = Z

For my message, I will use "send help".

So it would look like, SEND_HELP_

Notice the space on the end. This is because you must have an even number of characters, because of how the encryption works (in groups of two letters).

When the letters are changed to numbers, my message reads as:
19,5,14,4,0,8,5,12,16,0

But remember, we are doing this with matrixes and letters in groups of two, so it will be better if you write it in this format:
[19 5] [14 4] [0 8] [5 12] [16 0]
« Previous StepDownload PDFView All StepsNext Step »
31 comments
May 8, 2012. 4:03 AMaccount3r2 says:
Is your program compatible with a TI-83 Plus?
Oct 22, 2010. 11:01 PMubuntucuber says:
would it be possible to put the test of the program on instructables, so that it can be adapted to other calculators?
Aug 16, 2011. 2:28 PMubuntucuber says:
I meant text
Jun 25, 2011. 2:36 PMScout Jinx says:
Great Instructable!!! I learned how to do this and math and thought this was pretty cool. :D
Oct 11, 2010. 7:13 PMccrh2008 says:
I made a program similar to this one. Only my program took a string of letters and changed it first into a list of numbers and then into a matrix of 0's and 1's I later made another program that does the same thing and then takes the matrix and reads it inverted, generates a string of numbers which were easier to send as a message and much more secure but much harder to decode without the program. If anyone wants, I may post an ible on this exact program and share the program as well.
Sep 7, 2010. 2:33 PMFoaly7 says:
Could you post the actual code for the TI program?
Jun 16, 2009. 6:19 AMtailboy says:
whats a four integer key please explain
Jun 10, 2010. 4:10 PMaccount3r2 says:
(removed by author or community request)
Jun 23, 2010. 4:11 PMaccount3r2 says:
(removed by author or community request)
May 21, 2010. 12:29 AMnutsandbolts_64 says:
It's just simply sophisticated?!?! I think I'll start something a bit less...
May 21, 2010. 12:25 AMnutsandbolts_64 says:
 I don't understand the formula?!?!
Aug 22, 2009. 3:00 PMFoaly7 says:
Can Somebody write a code for a batch file to encrypt like this?
Jul 22, 2009. 3:17 PMblister75 says:
I know a way with out if .. then statements.
Jun 16, 2009. 6:24 AMtailboy says:
i give up!
Jun 15, 2009. 11:43 AMtailboy says:
that looks hard!
Apr 19, 2009. 3:13 PMArbitror says:
Pretty good, but improve spelling. ****
Apr 26, 2009. 1:54 PMArbitror says:
Nevermind, looks like you fixed it!
Apr 14, 2009. 8:17 AMjdege says:
Apr 14, 2009. 8:54 PMjdege says:
If you're working with just the letters A-Z, you're working modulo 26. There are only 456,976 2x2 matrices, and a large proportion of them aren't invertible. That's a very small key space.
Apr 14, 2009. 8:26 AMyourcat says:
Good, but I am just here because you find secret codes awesome, but have no secrets.
Apr 14, 2009. 8:02 AMinventivefiend says:
Cool. I like.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
3
Followers
3
Author:gonturan
My screen name is an allusion to something. Does anyone besides me know what the allusion is to? If you think you know, feel free to PM me and ask if you're right.