Ceasar Cypher


The provided JavaScript code demonstrates a ROT13 shift cipher implementation, a substitution cipher that shifts each letter in the alphabet by 13 positions. The 'cypher' function processes the input string, shifting each letter by finding its index in the 'lookUpTable' array and applying the ROT13 shift, while keeping non-letter characters unchanged. When the user clicks the "cypher" button, the event listener triggers the function, providing an efficient tool to encode and decode text in a simple web application.

View the source code below.

Source Code here