Text Encryption Encryption plays an important role in protecting messages that are transmitted across the network. There are many symmetric and asymmetric encryption techniques that can be used in...



Text Encryption



Encryption plays an important role in protecting messages that are transmitted across the network. There are many symmetric and asymmetric encryption techniques that can be used in order to encrypt text messages. Some of these techniques are Caesar, Rows-Columns Transposition, Rail- fence, and Playfair cipher encryption as well as advance encryption algorithms.


In this project, you are required to write a code that is capable of encrypting any given text (or text file) into a cipher text using any two different methods. You should prompt the user to choose the method that they would like to encrypt their text from a given list.



Challenge: develop your code to decrypt the cipher text that is encrypted above




Example:


Assume the text

TO SERVE AND TO PROTECT

is required to be encrypted using Row-Column with the password

ALERT



Then the text message in Rows-Columns Transposition will become:




TVTTSAPCOEOEENRTRDOX.

The same text message in Rail-fence with depth of 4 would be:

TRNPEOVDRCSETOTEAOTX
. The text when using Playfair would be:

AUQRAYRLKGAUSLUALDEZ.





please write comments in each line for explaining the code



Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here