Spy Agent
Description:
As a spy of your country you were able to acquire a secret letter sent from the general to the military camp near the war area. Your job is to recover the message using the key and the included cipher-text.The encryption used is a variation of the Caesar encryption system.
The arithmetic representation of Caesar cipher is : E_{n}(key)=(key+n)\mod {26} where 26 is the number of character in the alphabet and n the char to be encrypted.
The message that you Intercepted is divided into : The encryption key Key The message M
You don't know how the key is actually used, so you are required to figure out the encryption process and propose a decryption algorithm.
Hint: The messages sent are encrypted using the first 122 ASCII values instead of the 26 alphabet characters.
More details on Caesar cipher :https://en.wikipedia.org/wiki/Caesar_cipher
Similar Kata:
Stats:
Created | Feb 16, 2018 |
Published | Feb 16, 2018 |
Warriors Trained | 116 |
Total Skips | 37 |
Total Code Submissions | 199 |
Total Times Completed | 21 |
Python Completions | 21 |
Total Stars | 2 |
% of votes with a positive feedback rating | 77% of 11 |
Total "Very Satisfied" Votes | 7 |
Total "Somewhat Satisfied" Votes | 3 |
Total "Not Satisfied" Votes | 1 |
Total Rank Assessments | 11 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 7 kyu |