Question
could you please answer the whole of question 1, this is for python by the way question1 Specifically, this assignment task is expected to design
could you please answer the whole of question 1, this is for python by the way
question1
Specifically, this assignment task is expected to design and develop a Python program, which implements the follow functions:
a) Encrypting any plain text with given keys and decrypting cipher texts with the given keys for Vigenere cipher.
b)Decrypting any cipher text encrypted by Caesar cipher without knowing the keys using brutal force attacking approach. For this function, a cipher text is given as input, decrypted plain texts are expected to be displayed with all the possible keys. We suppose that there are 26 possible keys, 0 to 25 (corresponding to letters a to z). For example, if a cipher text pof is given, all the possible plain texts with different keys (0 to 25) should be displayed after the function is called, in the following format:
Key 0: pof
Key 1: one
Key 2: nmd
Key 3: mlc
Key 25: qpe
Apart from the displaying all the possible plain texts, the brutal force attacking function does not need to produce any other output.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started