7 kyu
Caeser Encryption
402 of 467tim_othy
Description:
You have invented a time-machine which has taken you back to ancient Rome. Caeser is impressed with your programming skills and has appointed you to be the new information security officer.
Caeser has ordered you to write a Caeser cipher to prevent Asterix and Obelix from reading his emails.
A Caeser cipher shifts the letters in a message by the value dictated by the encryption key. Since Caeser's emails are very important, he wants all encryptions to have upper-case output, for example:
If key = 3 "hello" -> KHOOR If key = 7 "hello" -> OLSSV
Input will consist of the message to be encrypted and the encryption key.
Algorithms
Similar Kata:
Stats:
Created | Mar 6, 2016 |
Published | Mar 6, 2016 |
Warriors Trained | 916 |
Total Skips | 15 |
Total Code Submissions | 3355 |
Total Times Completed | 467 |
Python Completions | 402 |
Ruby Completions | 54 |
Haskell Completions | 32 |
Total Stars | 14 |
% of votes with a positive feedback rating | 81% of 157 |
Total "Very Satisfied" Votes | 112 |
Total "Somewhat Satisfied" Votes | 31 |
Total "Not Satisfied" Votes | 14 |