Question
I have seen this same question but with a wrong answer please don't copy it and paste that answer here.
In this homework, you will explore some of the ways in which programming is important for cryptography. In the following problems, you will be required to accept as input either plain text flit cypher text that contains no more than 5000 characters. Follow the directions for each problem to design, implement and verify your programs. 3. For this program, in addition to the maximum length specified above, you may assume that no word in the input will have more than 25 characters. Either a space or a tab character ( t) will separate words. Write a C program that will accept an input cipher text that is terminated either by an End-of-File or End-of-Line character. Your intelligence agents have assured you that the word Zippy (case-sensitive) is part of the encrypted text and the message has been encrypted with a Caesar Cipher. Your program must print out the decrypted text
Explanation / Answer
#include void decrypt(char *inp,char *out,int key); main() { int choice,key,i; char inp[5000],out[5000]; gets(inp); if(strlen(inp)>5000) printf("input string is too long "); else { for(i=0;i