[Solved]Write C Program Performs Following Tasks 1 Encryption Message Rotation Cipher Given Messag Q37292580
Write a C program which performs the following tasks:
1. Encryption of a message with a rotation cipher given themessage text and rotation amount
2. Decryption of a message encrypted with a rotation ciphergiven cipher text and rotation amount
3. Encryption of a message with a substitution cipher givenmessage text and alphabet substitution
4. Decryption of a message encrypted with a substitution ciphergiven cipher text and substitutions
Inputs
– Read from stdin with scanf()
-All input data is to be encoded with the ASCII standard. ASCIIencoding defines that upper and lower case letters be stored as thefollowing 8-bit integers:
If an input byte is outside of the ranges [65, 90] and [97, 122]then it can be copied to the output without modification. If aninput byte is in the lower case range, [97, 122], then you shouldsubtract 32 from its value to make it an upper case letter prior toencryption.
Outputs
– All output should be sent to stdout.
Conditions
– For the purposes of this assignment youshould apply the following rules:
1. Do not encrypt white space, punctuation, or numerals. If aninput character is not a letter it should be copied to the outputunmodified.
2. All input data should use UPPER CASE letters only •(Advanced) If a lower case letter is found in the input it shouldbe converted to upper case before encryption
3. Code Must be contained in one .c file only (Provide a menusystem to choose what action will be executed)
4. Code Must run with GCC
5. Code Must provide comments of whats happening.
Thank you for your help will provide thumbs up once complete
Expert Answer
Answer to Write a C program which performs the following tasks: 1. Encryption of a message with a rotation cipher given the messag… . . .
OR

