Retired

Unofficial FCC Challenge -- Basic Algorithm Scripting -- Caesars Cipher (retired)

Description:

One of the simplest and most widely known ciphers is a Caesar cipher, also known as a shift cipher. In a shift cipher the meanings of the letters are shifted by some set amount.

A common modern use is the ROT13 cipher, where the values of the letters are shifted by 13 places. Thus 'A' ↔ 'N', 'B' ↔ 'O' and so on.

Write a function which takes a ROT13 encoded string as input and returns a decoded string.

All letters will be uppercase. Do not transform any non-alphabetic character (i.e. spaces, punctuation), but do pass them on.

Remember to use Read-Search-Ask if you get stuck. Write your own code.

https://www.freecodecamp.com/challenges/caesars-cipher

Algorithms

Stats:

CreatedApr 7, 2017
Warriors Trained17
Total Skips0
Total Code Submissions5
Total Times Completed5
Clojure Completions5
Total Stars0
% of votes with a positive feedback rating38% of 4
Total "Very Satisfied" Votes1
Total "Somewhat Satisfied" Votes1
Total "Not Satisfied" Votes2
Total Rank Assessments3
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • zcassini Avatar
Ad