https://github.com/jodaz/caesars-cipher
Caesars cipher algorithm for freeCodeCamp.
https://github.com/jodaz/caesars-cipher
caesar-cipher freecodecamp javascript
Last synced: 12 months ago
JSON representation
Caesars cipher algorithm for freeCodeCamp.
- Host: GitHub
- URL: https://github.com/jodaz/caesars-cipher
- Owner: jodaz
- License: mit
- Created: 2018-07-22T19:06:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-23T21:02:01.000Z (over 7 years ago)
- Last Synced: 2025-01-13T06:06:50.226Z (about 1 year ago)
- Topics: caesar-cipher, freecodecamp, javascript
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# caesars-cipher
Caesars cipher algorithm for freeCodeCamp.
The Caesar cipher is a simple shift cipher. This means the letters of a given string are shifted by a set amout.
Caesar cipher uses the ROT13 cipher. The values of the letters are shifted by 13 places e.g: `'A' <-> 'N'` and `'B' <-> 'O'`.
## Requirements
* Write a function which takes a ROT13 encoded string as input and returns a decoded string.
* All letters should be uppercase.
* Do not transform any non-alphabetic character.
## To try it
Just do `npm run convert "HELLO WORLD!"`.