Assignment 1
Assignment 1
Assignment # 1
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.
NOTE: You MUST show your workout by drawing circles around diagrams in the
matrix.
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