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!!
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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions

Question

4. Label problematic uses of language and their remedies

Answered: 1 week ago