Professional Documents
Culture Documents
DIPLOMA PROGRAMME
Subject : CRYPTOGRAPHY
Code : CBS 2373
Duration : 3 HOURS
Total Marks : 50 MARKS
GENERAL INSTRUCTIONS:
1. Write down clearly (with capital letters) your name, trade, group and the date
of examination at the bottom of this page.
2. Do not open this question booklet until you are told to do so by the invigilator.
3. Read the specific instructions and questions carefully before answering.
Level
Full
No Assessment Criteria CLO PO of Score Marks Comment
Marks
Diff
1. To generate message digest 2 4 P3 10
(MD)
2. To generate key for RSA 2 4 P3 15
public key and private key.
3. To achieve authentication and 2 4 P3 25
integrity by using digital
signature in combination with
message digest and RSA.
Total 50
Total Marks /50
Total PO4 /50
Signature
Learning Objectives:
To do this practical test, you should open the microsoft Excel and start to follow the question
given. This tasks are based on the message digest, public key & private key of RSA, and
digital signature.
You are required to submit the answer in word document to PDF FORMAT and EXCEL
FILE with mod calculation.
Page 2 of 9
Tasks
Questions Mark
s
Page 3 of 9
To generate QUESTION 1: 10
message You are required to calculate the message digest (MD) based on the message given and
digest (MD) to use SD11 idea to generate the MD.
You are required to convert each characters of message according to the ASCII table
below.
Message:
Cryptographic_Protocol
Answer Mark
Message 5
Cryptographic_Protocol
digest (MD)
Page 4 of 9
Page 5 of 9
To generate QUESTION 2: 15
key for RSA You are required to generate key of RSA based on the prime number given by Lecture.
public key
and private
Write down the prime number into the table below.
key.
Give the n and phi(n) answer into the table below.
Give the public key and private key answer into the table below.
Answer Marks
n 55 2
phi (n) 40 2
public 2
3,55
key
private 2
27,55
key
Page 6 of 9
Page 7 of 9
To achieve QUESTION 3: 25
authenticatio You are required to achieve the authentication and integrity by using digital signature in
n and combination with the Answer 1 and Answer 2 above which are in combination between
integrity by MD and RSA.
using digital
signature in The answer of question 3 is based on the question 1 and 2 above.
combination
The Alice and Bob as the names of characters for completion the authentication and
with message
integrity.
digest (MD)
and RSA.
Write down the answer into the table below.
Page 8 of 9
Page 9 of 9