Please complete Encryption Project . Please read the encrypted code…

Question Answered step-by-step Please complete Encryption Project . Please read the encrypted code… Please complete Encryption Project.Please read the encrypted code from an input file to save time.  Input File: Image transcription textcode – Notepad File Edit View : mmZ dxZmx ]Zpey… Show moreWrite in C++ please.The message is obviously encrypted using the enemy’s secret code.You have just learned that their encryption method is based uponthe ASCII code. Individual characters in a string are encoded usingthis system. For example, the letter “A” is encoded using thenumber 65 and “B” is encoded using the number 66, and so on (Googlefor the ASCII table for conversion.)Your enemy’s secret code takes each letter of the message andencrypts it as follows:If (OriginalChar + Key > 126) then              EncryptedChar = 32 + ((OriginalChar + Key) – 127)Else              EncryptedChar = (OriginalChar + Key)For example, if the enemy uses Key = 10 then the message “Hey”would be encrypted as:ASCII ConversionH –> 72e –> 101y –> 121Encrypted H = (72 + 10) = 82 = R in ASCIIEncrypted e = (101 + 10) = 111 = o in ASCIIEncrypted y = 32 + ((121 + 10) -127) = 36 = $ in ASCIIConsequently, “Hey” would be transmitted as “Ro$.”. You onlyknow that the key used is a number between 1 and 100. Your programshould try to decode the message using all possible keys between 1and 100. When you try the valid key, the message will make sense.For all other keys, the message will appear as gibberish. Computer Science Engineering & Technology C++ Programming CMPR 120 Share QuestionEmailCopy link Comments (0)