Question: 14. Programming Assignment: Write a script called poly_cipher.pl in Perl (or poly_cipher.py in Python) that is an implementation of the Vigenere polyalpha- betic cipher for

 14. Programming Assignment: Write a script called poly_cipher.pl in Perl (or

14. Programming Assignment: Write a script called poly_cipher.pl in Perl (or poly_cipher.py in Python) that is an implementation of the Vigenere polyalpha- betic cipher for messages composed from the letters of the English alphabet, the numerals 0 through 9, and the punctuation marks 2,7', and '?'. Your script should read from standard input and write to stan- dard output. It should prompt the user for the encryption key. Your hardcopy submission for this homework should include some sample plaintext, the ciphertext, and the encryption key used. Make your scripts as compact and as efficient as possible. Make liberal use of builtin functions for what needs to be done. For example, you could make a circular list with either of the following two constructs in Perl: unshift( Qarray, pop(array) ) push( Qarray, shift(@array) ) See perlfaq4 for some tips on array processing in Perl

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!