Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For this project, you will aument what you did in the Labs 11 and 12 in two important ways: 1. You will now allow the

image text in transcribed
image text in transcribed
image text in transcribed
For this project, you will aument what you did in the Labs 11 and 12 in two important ways: 1. You will now allow the user to specify a series of cryptographic schemes to be applied to the input text 2. To implement the above modification efficiently, you will create an inheritance hierarchy of cryptographics schemes, which wl allow for polymorphic cryptography In addition to the ArrayCoder and PlayfairCoder classes you wrote for Labs 11 and 12, you will add three more cryptographic methods to this project Vigenre, Caesar and Substitution which are described on a separate Encryption Methods sheet. All three are similar to the Playfair cipher in that they require a special string key which is used in the encrypting process. This key should be specified in the constructor for all of these classes. You may also want to include a setKey(String key) method as well. sheet Cryptographic Class Hierarchy There is also a small modification to the ArrayCoder class which is described on the methods The ive different encryption methods usen this project form the following hierarchy: Coder KeyCoder ArrayCoder VigenereCoder SubstitutionCoder PlayfairCoder CaesarCoder The classes Coder and KeyCoder should contain any and all common fields and methods of the subclasses; specifically, Coder should contain two abstract methods public abstract String encrypt (String s) and public abstract String decrypt (String s). Both Coder and KeyCoder will be abstract classes

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

Recommended Textbook for

Oracle 10g SQL

Authors: Joan Casteel, Lannes Morris Murphy

1st Edition

141883629X, 9781418836290

More Books

Students also viewed these Databases questions

Question

Which of the following means a row in a database environment?

Answered: 1 week ago