CP3404 Assignment 1 SP2 2020
CP3404 Assignment 1 SP2 2020
Aim: This assignment is designed to help you improve your critical thinking and problem
solving skills, as well as your information literacy skills (i.e. the ability to select and organise
information and to communicate it effectively and ethically).
• Answer all of the following questions in a single document. Each question should begin on a
new page.
• For each of the first two (2) questions, write a report of approximately 750 words in the
structure of a scientific paper.
• Include your name on the first page. Include list of references for each question with proper
in-text citations.
• For marking criteria of the first 2 questions, see the included rubric.
• In your answer to question 3 (i.e., cryptanalysis), show all your work. Five (5) marks are
assigned to the determination of the correct keyword, and five (5) marks to the determination
of the complete plaintext (partial marks count). Note that using the Internet for deciphering
the cryptogram and/or learning the key is an instance of plagiarism. You have to show
(step-by-step) how did you achieve the plaintext and key.
• Upload your solution to the Assignment Box, located in the subject’s site.
[5 marks]
1
[5 marks]
a b c d e f g h i j k l m n o p q r s t u v w x y z
c o d k s z r g e l u y a f m v p h i n w t b j q x
is one of such permutation, in which letters a, b, c, · · · , y, z from the plaintext are substituted
by corresponding letters c, o, d, · · · , q, x respectively. Since remembering permutation is not
easy, one may employ a keyword and use a table to generate the permuted alphabet. Let
CRYPTOGRAPHY be the keyword. The permuted alphabet can be obtained as follows.
C R Y P T
O G A H
Your Task:
Cryptanalysis of an information system is the study of mathematical techniques for attempting
to defeat information security services.
A cryptographic system is said to be breakable if a third party (i.e., cryptanalyst), without
prior knowledge of the key, can systematically recover plaintext from corresponding cipher-
text within an appropriate time frame.
In this question, you are required to determine the plaintext and the keyword associated to
the given cryptogram. Note that brute force attack (i.e., searching all possible keys) in order
2
C R Y P T
O G A H B
D E F I J
K L M N Q
S U V W X
Z
Figure 3: Table for permuting alphabet
to find the keyword is not efficient. However, letter frequency (see Figure 4) attack is an
efficient tool for breaking substitution ciphers.
In the following you can find 10 cryptograms, where the breaks are genuine breaks between
English words. You are required to decipher the cryptogram that matches with your Student-
ID.
[10 marks]
3
Cryptogram for whom their Student-ID is XXXXXXX0
4
Cryptogram for whom their Student-ID is XXXXXXX3
5
Cryptogram for whom their Student-ID is XXXXXXX6
6
CP3404 Assignment Rubric