Menu

(Solved) : 14 Programming Assignment Write Script Called Polycipherpl Perl Polycipherpy Python Implem Q44132171 . . .

14. Programming Assignment: Write a script called poly_cipher.pl in Perl (or poly_cipher.py in Python) that is an implementat14. 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. Show transcribed image text 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.

Expert Answer


Answer to 14. Programming Assignment: Write a script called poly_cipher.pl in Perl (or poly_cipher.py in Python) that is an implem…

OR