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

Assignment 1

This document outlines Assignment #1 for the CS-464 course on Data and Network Security at GIK Institute, due on February 10, 2025. The assignment includes a programming task to implement the Vigenere cipher and two encryption questions using the Playfair and Hill ciphers, with specific submission requirements for both softcopy and handwritten work. Total points for the assignment are 50, with 30 points for the programming task and 20 points for the questions.

Uploaded by

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

Assignment 1

This document outlines Assignment #1 for the CS-464 course on Data and Network Security at GIK Institute, due on February 10, 2025. The assignment includes a programming task to implement the Vigenere cipher and two encryption questions using the Playfair and Hill ciphers, with specific submission requirements for both softcopy and handwritten work. Total points for the assignment are 50, with 30 points for the programming task and 20 points for the questions.

Uploaded by

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

Faculty of Computer Science and Engineering

GIK Institute of Engineering Sciences and Technology

CS-464 :: Data and Network Security (Spring 2025)

Assignment # 1

Due Date: Monday, February 10, 2025 Total Points = 50

Programming Assignment [30 Points]

Write a program (in any programming language of your choice) that is an implementation of the
Vigenere polyalphabetic cipher for messages composed from the letters of the English alphabet,
the numerals 0 through 9, and the punctuation marks ‘.’, ‘,’, and ‘?’.

Your program should read from standard input and write to standard output. It should prompt the
user for the encryption key.

Your softcopy submission for this homework should include your source code and it must be
uploaded on MS Teams’ assignment before 10:30 PM on Feb.10 .

Make your program as compact and as efficient as possible. Make liberal use of built-in functions
for what needs to be done.
- Following part must be submitted hand-written. Your calculations and rough work
must be shown.

- Computer-based answers for the following questions won’t be acceptable.

- Must be submitted in class to TA. Late submission won’t be considered at all. If


you miss the deadline, don’t submit.

Question 1: [10 Points]

Using this Playfair matrix:

Encrypt this message:

Must see you over Cadogan West. Coming at once.

NOTE: You MUST show your workout by drawing circles around diagrams in the
matrix.

Question 2: [10 Points]

Encrypt the message “meet me at the usual place at ten rather than eight o clock”
9 4
using the Hill cipher with the key ( ). Show your calculations and the result.
5 7

You might also like