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:

More By Author:

Check out these other kata created by tim_othy

Stats:

CreatedMar 6, 2016
PublishedMar 6, 2016
Warriors Trained916
Total Skips15
Total Code Submissions3355
Total Times Completed467
Python Completions402
Ruby Completions54
Haskell Completions32
Total Stars14
% of votes with a positive feedback rating81% of 157
Total "Very Satisfied" Votes112
Total "Somewhat Satisfied" Votes31
Total "Not Satisfied" Votes14
Ad
Contributors
  • tim_othy Avatar
  • NaMe613 Avatar
  • myjinxin2015 Avatar
  • cliffstamp Avatar
Ad