0% found this document useful (0 votes)
4 views

Assignment 1

The document outlines Assignment 1 for the Information Security course at the University of Central Punjab, which is due in Fall 2024 and is worth a total of 20 marks. Students are required to complete two questions involving encryption and decryption using the Hill cipher and Playfair cipher, with specific instructions on submission format and penalties for late submissions. The assignment emphasizes the importance of handwritten solutions and clarity in answers.

Uploaded by

ahmed nadeem
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Assignment 1

The document outlines Assignment 1 for the Information Security course at the University of Central Punjab, which is due in Fall 2024 and is worth a total of 20 marks. Students are required to complete two questions involving encryption and decryption using the Hill cipher and Playfair cipher, with specific instructions on submission format and penalties for late submissions. The assignment emphasizes the importance of handwritten solutions and clarity in answers.

Uploaded by

ahmed nadeem
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

University of Central Punjab

Faculty of Information Technology & Computer Sciences

Information Security, Fall 2024

Assignment 1

Total Marks: 20 Date:


Name: ID:

Attempt All Questions only Hand written Solution will be graded

Read Carefully
Soft Copy Submission: Through Portal
Late Submission Policy: 10% Deduction /24 Hours.

Instructions: (5 marks will be deducted for not following the instructions)

 Quiz will be taken on the basis of assignment.


 Attempt all questions in sequence. Attach this title page as a front page of
assignment.
 Assignment should be handwritten/printed on A4 sized page. (No pages from
register please.)
 Submit soft copy of solved assignment on the portal (should be submitted before
deadline)

Total Marks: 20 (70% Assignment + 30% Evaluation)


Answers Clarity: Justify your answer where needed.
University of Central Punjab
Faculty of Information Technology & Computer Sciences

Question # 1: (10 Marks)

You are given a 3x3 key matrix for the Hill cipher as follows:
3 10 6
K = 5 9 1
9 4 7
 Encrypt the plaintext message "ENCRYPTION" using the key matrix K.
 Represent each letter as a number (A=0, B=1, ..., Z=25). If the length of the
message is odd, append an additional letter (e.g., 'X') to make it even.
 Decrypt the encrypted message back to its original plaintext. Show the steps of
how you reverse the encryption process, including how to handle each case.

Question # 2: (10 Marks)

Using an extended 6x6 Playfair cipher grid with the keyword "TECHNOLOGY",
encrypt the message "LAUNCH AT 3PM".
1. Construct a 6x6 Playfair cipher grid. The grid should contain:
 The keyword TECHNOLOGY (removing duplicate letters).
 The remaining letters of the alphabet.
 The digits 0-9.
2. Show the pairing process for the message, including how you handle the number.
3. Encrypt each pair according to the 6x6 Playfair cipher rules and provide the final
encrypted message.
Additional Note: In the 6x6 Playfair cipher, if a pair includes a number, treat it as part of the
alphabet to fit into the 6x6 rules.

Good Luck

You might also like