Answered step by step
Verified Expert Solution
Question
1 Approved Answer
USE OF MATRICES IN CRYPTOGRAPHY What is cryptography? Cryptography, the science of encrypting and deciphering messages written in secret codes, has played a vital role
USE OF MATRICES IN CRYPTOGRAPHY
What is cryptography?
Cryptography, the science of encrypting and deciphering messages written in secret codes, has
played a vital role in securing information. With millions of financial transactions conducted over the
internet daily, cryptography has become more important than ever. Companies have begun to make
online transactions more secure by installing encryption software to prevent sensitive information
such as credit card numbers from falling into the wrong hands.
There are several cryptographic techniques and many extensive uses of mathematics to secure
information. One of the techniques uses for encoding and decoding messages is the concepts of
matrices where the algorithm for matrix multiplication and the concept of the multiplicative inverse
of a matrix are applied.
Using Matrices to encode and decipher messages
The matrix is used for the following example.
Encoding a message
Step : Set up a substitution cipher to encode the message "MATH IS SWEET"
For the cipher, we will associate a unique number to every letter in the alphabet.
This can be done randomly or using a systematic approach. Here we choose to
associate with a blank space, and assign to to to to
and so on
Now encode the secret message as shown We next enter the coded message into a new matrix by entering it letter by
letter into the columns of Note that since the encrypting matrix is a
must have a rows for multiplication to be possible.
If the message is too short to fill matrix we use blank spaces to complete the final
column.
Step : Use the matrix to encrypt it
Computing the product encrypts the message, and only someone with access to
will be able to read it
The coded message is and
Deciphering a message
Step : Decipher the coded message from step
The received message is and
It is the result of the product To find matrix we apply since
Writing the received message in matrix form, we
have
Step : Next multiply by on the left to determine matrix
Writing matrix in sentence form gives
& and using the substitution cipher to replace numbers with letters,
reveals the message MATH IS SWEET.
Activity Unlock a coded message
Doctor Strange is in deep trouble. He is being pursed by Thanos and is presently hiding in a secret
location to escape from being captured by him. He needs to send messages to two of his comrades,
Thor and Captain America, to tell them about his situation and whereabouts. As such, he composes
his first message by replacing each letter in the message by a number according to the code in
Table below.
Table : Coding system
As Doctor Strange is afraid that his message will be intercepted and cracked by Thanos, therefore,
he decides to send the message in code together with a super hitech LOCK to Thor and Captain
America to unlock the coded message.
LOCK
With the use of Table and LOCK, what is the message that Doctor Strange is trying to send to Thor
and Captain America? Please show your working clearly on how you unlock the code message. Activity Design your own substitution cipher
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started