Question: 1. Create a Rot13DecoderRing class. It will have class level string variables encodedText and clearText. Add a canonicalizeString method that takes a string s, replaces

1. Create a Rot13DecoderRing class. It will have class level string variables encodedText and clearText. Add a canonicalizeString method that takes a string s, replaces all upper-case characters with the equivalent lower case character (A-> a), removes any characters in the spring except characters and spaces. Think carefully about the design of your class.

2. Create a rot13Char function that converts a single lower case clear-text character into the equivalent encrypted Rot13 character. Note that modulus arithmetic means that the rot13 function both encrypts clear text characters and decrypts encoded rot13 characters add a rot13 function that accepts a string and returns a rot13 string using the rot13Char method.

3. Add methods to read in a .txt clear text file and write out a rot13 equivalent file. 4. (30 points) Develop a C# windows form interface including a dialog box, for encrypting files and decrypting files or encrypting and decrypting text in a textbox. Test your code.

This all needs to be done on visual studios, windows form C#

THANK YOU

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!