Substitution Codes Changes
Substitution Codes Changes
By Sarah Bonnell
History of Codes
Throughout history, codes have been
used to hide or keep messages secret.
There are many different types of
codes that have been invented and
used, although lots have been broken
after a while.
A famous type of code that was used
and eventually broken, was the ENIGMA
CODE used by the German army during
the Second World War.
An Enigma Machine, used to generate
this code, can be seen on the next
slide.
This is an Enigma
Machine. It generates
codes by substituting each
letter typed for another.
However, the code is
made harder to break as
the same letter can be
substituted to any
random letter, unless the
machine is used in the
same setting as when the
message was first typed.
For example, A could
come out as C the first
time, and F the second.
Other Types of Codes
Not all codes are substitution codes. Codes can be broken by using
objects, like the Spartans did 2500 years ago. A long strip of any
material was used to wrap around a piece of wood. A message was
written, that could only be decoded by using exactly the same size
wood. This code was good, but it was eventually broken. One
example is shown below:
There are many other types of codes that have been used
throughout history, and for many different purposes.
purposes
The Problem
The Problem we
were given was a
substitution code,
whereby we had a
number of symbols
which substituted
for each letter in
the alphabet. The
problem was, we
didn’t know what
symbol
corresponded to
what letter.
Our Method
This seems
interesting.
How did we solve the
knapsack challenge?
Once we all went through
the challenge on our own, We had the following
we discussed what the best numbers to decode:
and easiest way would be to 33,18, 20, 1, 31, 20, 30,
decode the message.
31. We first worked
One member from our
group suggested the best out each number
way would be for some of using the sticks which
us to sit around the meant we had to see
computer solving the first
half while the others were what sticks add up to
writing the solution on make the number.
paper.