Question: Write a program in C# that does the following ( it must be just do decrypt! It must be in C# given this is what

Write a program in C# that does the following (it must be just do decrypt! It must be in C# given this is what requested in the assignment):

  1. Decrypts a message using Ceaser cipher, Transposition cipher and Vignere Cipher. The encrypted strings and keys to be used are given below:
    1. Ceaser Cipher encrypted string = HDUILPGT HTRJGXIN XH WPGS
    2. Transposition Cipher encrypted string =

IEUBOIPI

NSCLFSOB

DTTETISL

ERASWMSE

  1. Substitution Cipher encrypted string = SZXPVIH ZIV GVMZXRLFH
  2. Vignere Cipher encrypted string = "LLGLV BQ QQHVG GF JUTSBLY "

Keys

  • Ceaser Cipher: 15
  • Transposition Cipher (4 lines, line = charindex mod 4)
  • Substitution Cipher: ZYXWVUTSRQPONMLKJIHGFEDCAB
  • Vignere Cipher: SECURITY

Vignere: "THERE TX SYDTM PX QWBOZRH "

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!