Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need a program that implements the playfair cypher. Should have a menu with 3 options 1.Encrypt, 2. Decrypt and 3.exit. The program should first prompt

Need a program that implements the playfair cypher. Should have a menu with 3 options 1.Encrypt, 2. Decrypt and 3.exit. The program should first prompt a user to enter a key. Then it takes them to the menu and they can choose one of the 3 options

If they select encrypt, program should ask the user to enter a message. Program should return the message in cypher text 

If they select decrypt, the user should be allowed to enter the cypher text and have it be converted to the message 

Must be completed in PYTHON only 

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Library require string itertools re Completed code from string import asciiuppercase from itertools ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Digital Signal Processing

Authors: Jonh G. Proakis, Dimitris G.Manolakis

3rd Edition

978-0133737622, 133737624, 978-013373762

More Books

Students also viewed these Programming questions

Question

Contrast primary and secondary malnutrition.

Answered: 1 week ago