Assignment 1
Assignment 1
Assignment 1
Read Carefully
Soft Copy Submission: Through Portal
Late Submission Policy: 10% Deduction /24 Hours.
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.
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