How would I add code to encrypt this code below and then how would I add additio
ID: 3600063 • Letter: H
Question
How would I add code to encrypt this code below and then how would I add additional code to decrypt the file? What I need to do is use this version of substitution ciphers as well below;
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
F E A T H R Z Y X W V U S Q P O N M L K J I G D C B
It should ask the user for the key word that the user wants to use. Also my program should read text from the input file, encrypt or decrypt it according to the user’s request, and write the result to an output file. If the user chooses to do encryption, your program will produce an output file containing English text that is encrypted with the key the user provides. And then if the user runs the program again for decryption, your program should be able to use the same key (provided by the user) to decrypt the encrypted file and produce an output file that is identical to the original file before encryption is done.
What I have so far below
------------------
--------------------------------
what I have for testing below
--------------------------------
-------------------------
Explanation / Answer
RESULT -
You and your friend both understand how to use a Caesar cipher it should be relatively easy to send encrypted communications to each other. This can be a easiest way to pass secret messages back and forth between friends. However, although the Caesar cipher provides a great introduction to cryptography, in the computer age it is no longer a secure way to send encrypted communications electronically.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.