Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Done in C++ with the Visual Studio software. Develop an EncryptedString class with private data fields that hold the encryptedText (string) and positionsShifted (int) Add

Done in C++ with the Visual Studio software.

image text in transcribed

Develop an EncryptedString class with private data fields that hold the encryptedText (string) and positionsShifted (int) Add at least 2 public member functions to the EncryptString class. One member function(method) should be named decrypt and should decrypt a string based on only the private fields: encryptedText and positionsShifted string decrypt); ifmmp decrypt hello shifted 1char The second version of the decrypt function should have an additional input argument that is a string with letters to ignore string decrypt(string ignore); aifbmcmbpa decrypt and ignore "abc" hello ShiftedChar When you run the program it should look like What string would you like to decrypt? ifmmp How much are the letters shifted? 1 Do you want to ignore any letters? (1=yes, 2-no) 2 Decrypted string: hello What string would you like to decrypt? aifbmcmbpa How much are the letters shifted? 1 Do you want to ignore any letters? (1=yes, 2-no) 1 Enter the letters to iqnore: abc ignoring letters: abc Decrypted string: hello What string would you like to decrypt? N%qt(jshx77:&&& How much are the letters shifted? 5 Do you want to ignore any letters? (1=yes, 2-no) 2 Decrypted string: I love cs225

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

Data Analytics And Quality Management Fundamental Tools

Authors: Joseph Nguyen

1st Edition

B0CNGG3Y2W, 979-8862833232

More Books

Students also viewed these Databases questions