"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." — FreeCodeCamp
This is a part of my FreeCodeCamp Javascript Algorithms and Data Structures Certification. It's the third project in the module. The code passes all of the tests in the project requirements. See for yourself!
HTML, CSS, and JavaScript
Download the code and open index.html
in your browser. Or, just go to this link.