Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q - 5 : Upgrade your Caesar algorithm to Vigenere to encrypt and decrypt. Also upgrade it to allow changing the hard coding of the

Q-5: Upgrade your Caesar algorithm to Vigenere to encrypt and decrypt. Also upgrade it to allow changing the
hard coding of the ASCII alphabet (if not already done). E.g. set a variable (however your language does this) to
define an alphabet. As an example, for C++ std::vector or std::string is recommended, such as:
std::string alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
where a=0,b=1,c=2 etc...
--- being changed and rebuilt to use this alphabet ---
std::string alphabet ="0123456789abcdefghijklmnopqrstuvwxyz";
where ?'0'=0,?'1'=1,?'a'=10 etc...
Upgrade your vigenere code to read from an input file and an output file. These can be supplied as arguments or
hard-coded (but arguments will work better for future assignments), e.g.
vigenere |d=KEY=zA(020)012;quad?????(020)
For any code if required please use Java!!
Also I would like a solution to help me solve Response 1 and 2 in the Prompt please!!
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Students also viewed these Databases questions

Question

What is the orientation toward time?

Answered: 1 week ago

Question

4. How is culture a contested site?

Answered: 1 week ago