Question: 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.

Done in C++ with the Visual Studio software. Develop an EncryptedString class

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!