C# program

see the files plz 

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

CS 313 02

Program Assignment 03

Chapter 08

Due: Wednesday, February 21, 2018

The Caesar cipher is one of the earliest known and simplest ciphers. It is a type of substitution cipher in which each letter in the plaintext is ‘shifted’ a certain number of places down the alphabet. For example, with a shift of 1, A would be replaced by B, B would become C, and so on. The method is named after Julius Caesar, who apparently used it to communicate with his generals.

To pass an encrypted message from one person to another, it is first necessary that both parties have the ‘key’ for the cipher, so that the sender may encrypt it and the receiver may decrypt it. For the Caesar cipher, the key is the number of characters to shift the cipher alphabet.

Here is a quick example of the encryption and decryption steps involved with the Caesar cipher. The text we will encrypt is ‘defend the east wall of the castle, by sending 50 more soldiers there’, with a shift (key) of 1.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

plaintext: defend the east wall of the castle, by sending 50 more soldiers there

ciphertext: FGHGPF VJG GCUV YCNN QH VJG ECUVNG, DA UGPFKPI 61 OQTG UQNFKGTU VJGTG

Write a C# program that allows the user to enter the following information into text boxes:

Whether they want to encrypt a message or decrypt a message

The key value (1 – 20)

The filename where the original message is located

The program should then either encrypt or decrypt the message, displaying the result in a list box. Test your program by decrypting the text file secretMessage.txt located in the I:\kopp\outbox\CS 313 02\Program Assignments folder. The key for this file is 1. You are required to create an array that will be the cipher code. Any characters that are not part of the 26 letters of the alphabet and the 10 digits should be passed through without changing them. When you create your cipher, add the digits 0-9 to the end of the alphabet and shift for 36 total characters.

Add the following comments to the beginning of the program.

Name: Your Name

Class and Section: CS 313 02

Assignment: Program Assignment 03

Due Date: See above

Date Turned in:

Program Description: You write a short description of what the program will do

Extra Credit 5 points:

Add punctuation (. , ? ! 😉 and a space as part of the characters of the available alphabet and part of the cipher. So the above message would cipher to:

FGHGPFBVJGBGCUVBYCNNBQHBVJGBECUVNG!BD0BUGPFKPIB72BOQTGBUQNFKGTUBVJGTG

EQNNGIGBKUBCBVKOGBWPNKMGB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KPMKPIBCPFBRTQDNGO
UQNXKPIBUMKNNU?BMGGRB0QWTBOKPFBQRGPBCPFBNQQMBHQTBYC0UBVQBCRRN0BVJGUGBUMKNNU
YKVJKPB0QWTBOCLQT?
CPQVJGTBTGCUQPBVQBVCMGBCFXCPVCIGBQHBVJKUBDTQCFBTCPIGBQHBENCUUGUBKPBEQNNGIG
KUBVJCVB0QW’TGBNKMGN0BVQBEJCPIGBECTGGTUBQXGTB0QWTBNKHGVKOG!BCPFBGXGPBCBENCUU
QTBVYQBECPBOCMGBCPBKORCEVBKPBMPQY-JQYBCPFBWPFGTUVCPFKPI?BCPGEFQVCNN0!B0QWBCTG
NKMGN0BVQBDGBKPBCBFKHHGTGPVBHKGNFBCVBVJGBGPFBQHB0QWTBECTGGTBVJCPBVJGBQPGBKP
YJKEJB0QWBUVCTVGF?

Calculate your order
275 words
Total price: $0.00

Top-quality papers guaranteed

54

100% original papers

We sell only unique pieces of writing completed according to your demands.

54

Confidential service

We use security encryption to keep your personal data protected.

54

Money-back guarantee

We can give your money back if something goes wrong with your order.

Enjoy the free features we offer to everyone

  1. Title page

    Get a free title page formatted according to the specifics of your particular style.

  2. Custom formatting

    Request us to use APA, MLA, Harvard, Chicago, or any other style for your essay.

  3. Bibliography page

    Don’t pay extra for a list of references that perfectly fits your academic needs.

  4. 24/7 support assistance

    Ask us a question anytime you need to—we don’t charge extra for supporting you!

Calculate how much your essay costs

Type of paper
Academic level
Deadline
550 words

How to place an order

  • Choose the number of pages, your academic level, and deadline
  • Push the orange button
  • Give instructions for your paper
  • Pay with PayPal or a credit card
  • Track the progress of your order
  • Approve and enjoy your custom paper

Ask experts to write you a cheap essay of excellent quality

Place an order

Order your essay today and save 30% with the discount code ESSAYHELP