Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I am just a begineer. please make the code simple and dont copy paste the same code thats already posted. (c++) Random monoalphabet cipher. The
I am just a begineer. please make the code simple and dont copy paste the same code thats already posted. (c++)
Random monoalphabet cipher. The Caesar cipher, which shifts all letters by a fixed amount, is far too easy to crack. Here is a better idea. As the key, don't use numbers but words. Suppose the key word is FEATHER. Then first remove duplicate letters, yielding FEATHR, and append the other letters of the alphabet in reverse order: Now encrypt the letters as follows: A B C D E F G H Write a program that encrypts or decrypts a file using this cipher. For example, crypt -d -kFEATHER encrypt.txt output.txt decrypts a file using the keyword FEATHER. It is an error not to supply a keyword
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started