Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi can anyone help with my assignment in C++ This assignment will give you an oppurtunity to work with inheritance, polymorphism, aggregation, exception handling, and

Hi can anyone help with my assignment in C++

This assignment will give you an oppurtunity to work with inheritance, polymorphism, aggregation, exception handling, and cryptography. You will create multiple classes that interact through inheritance and aggregation. Create the classes as they are discussed for each task below. Test your work for each task thoroughly before submitting to the corresponding automarker upload slot and moving on to the next task. Each task is evaluated separately, but will rely on the classes you created in previous tasks. The classes you will create for each task are: 1. Cipher, SubstitutionCipher, Exception, Vigenere

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

The relationships between the classes are depicted in the UML below Exception #error: string +Exceptioniconst string&) Cipher encode(const string&) string code(const strings)r string SubstitutionCipher encode const strings): string edecodefconst strings): string har(char)r char TranspositionCipher tencodeconst string&: string decodelconst stringa: string #scramble( const string&): string #unscramble(const string&): string #renoveSpaces(const string&): string #toUpperCaseIconst string& 1: String Vigenere OneTimePad Columnar odeword: st Vigenere(const stringS) +setCodeword const string& void tencodefconst strings): string decodef const string): string #encodeChar(Char): Char #decodeChar (char): char seed: long int +0neTinePad long int) setSeedilong int): void tencodefconst stringa):strin decodefconst strings): string WencodeChar char): chair #decodechar ( ch codeword: string pernutation: int Columnar(const string Colunnar +setCodeword const string&) #scrambte(const string&): string #unscramblerconst string&): string SwapScramble ranblecon tring) char unscraable(const string&) string 3.1 Task 1: Substitution cipher hierarchy, and the Vigenre cipher There are two major types of classic text ciphers: substitution ciphers and transposition ci phers. In substitution ciphers, each letter of plaintext is encoded and decoded individually. For this task, you will create a hierarchy of classes representing a generic cipher interface, and implement one concrete substitution cipher: Vigenre The relationships between the classes are depicted in the UML below Exception #error: string +Exceptioniconst string&) Cipher encode(const string&) string code(const strings)r string SubstitutionCipher encode const strings): string edecodefconst strings): string har(char)r char TranspositionCipher tencodeconst string&: string decodelconst stringa: string #scramble( const string&): string #unscramble(const string&): string #renoveSpaces(const string&): string #toUpperCaseIconst string& 1: String Vigenere OneTimePad Columnar odeword: st Vigenere(const stringS) +setCodeword const string& void tencodefconst strings): string decodef const string): string #encodeChar(Char): Char #decodeChar (char): char seed: long int +0neTinePad long int) setSeedilong int): void tencodefconst stringa):strin decodefconst strings): string WencodeChar char): chair #decodechar ( ch codeword: string pernutation: int Columnar(const string Colunnar +setCodeword const string&) #scrambte(const string&): string #unscramblerconst string&): string SwapScramble ranblecon tring) char unscraable(const string&) string 3.1 Task 1: Substitution cipher hierarchy, and the Vigenre cipher There are two major types of classic text ciphers: substitution ciphers and transposition ci phers. In substitution ciphers, each letter of plaintext is encoded and decoded individually. For this task, you will create a hierarchy of classes representing a generic cipher interface, and implement one concrete substitution cipher: Vigenre

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

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions

Question

log traning accuracy for epoch 0 cnn pytorch

Answered: 1 week ago

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago