Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jackhowa/caesars-cipher
Do the classic shift cipher decoding in js
https://github.com/jackhowa/caesars-cipher
algorithm cipher-algorithms freecodecamp
Last synced: 6 days ago
JSON representation
Do the classic shift cipher decoding in js
- Host: GitHub
- URL: https://github.com/jackhowa/caesars-cipher
- Owner: JackHowa
- Created: 2017-08-13T20:40:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-13T21:20:38.000Z (over 7 years ago)
- Last Synced: 2024-11-20T21:58:24.587Z (2 months ago)
- Topics: algorithm, cipher-algorithms, freecodecamp
- Language: JavaScript
- Homepage: https://www.freecodecamp.org/challenges/caesars-cipher
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# caesars-cipher
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.