Approved-online-essay-writers

Row Transposition Cipher Implementation

1) Using any programming language of your choice implement the Row Transposition Cipher encryption algorithm.

We Write Essays for Students

Tell us about your assignment and we will find the best writer for your paper

Get Help Now!

2) Specifications: The program should take two inputs 1) Message M 2) A word w of length k. The number of columns in the row transposition matrix will be k, and the columns in the matrix will be read in the alphabetical order of the letters in w. The program should then create the row transposition matrix and create the encrypted message C. In coding the above, please note the following • Ignore spaces in the input text • You can write your code to be case insensitive – convert all input to lower case • In order to make decryption easy, pad any empty spaces in the last row of the row transposition matrix with the character X • Your final output should include M,w and C

3) What will be the decryption algorithm for a Row Transposition Cipher? Write down the pseudocode for the algorithm.

4) Using any programming language of your choice implement the Row Transposition Cipher decryption algorithming language of your choice implement the Row Transposition Cipher encryption algorithm

5) Specifications: The program should take two inputs 1) Encrypted Message C 2) The word w of length k that was used in encrypting the message. The program should then create the row transposition matrix and create the decrypted message M. In coding the above, please note the following • You may or may not choose to remove any characters used for padding • Since spaces were removed from the plaintext before encryption they do not have to be reinserted after decryption • Your final output should include C,w and M

Test 1 (Encryption)

1) Using a w value of NYITV use your code to encrypt the following text: “CRYPTOLOGY IS THE PRACTICE AND STUDY OF TECHNIQUES FOR SECURE COMMUNICATION IN THE PRESENCE OF THIRD PARTIES CALLED ADVERSARIES.”

2) Output your results

Test 2 (Decryption)

1) Using a w value of NYITV use your code to decrypt the following text: “eroohalpsmeptroohalsefxphtnlefhhxtwstiiiieoecrastitosplmgeasentmitrasnefylypn hiasnetoiroitaetaxoeetonicrasetltesnicrfwmurnhrrhitrcrxhtpipsrmaimiitpiphlaleiucci ptotpe”

2) Output your results

The post Row Transposition Cipher Implementation appeared first on UKCustomPapers.

Welcome to originalessaywriters.com, our friendly and experienced essay writers are available 24/7 to complete all your assignments. We offer high-quality academic essays written from scratch to guarantee top grades to all students. All our papers are 100% plagiarism-free and come with a plagiarism report, upon request

Tell Us “Write My Essay for Me” and Relax! You will get an original essay well before your submission deadline.

PLACE YOUR ORDER