Caesar Cipher
This JavaScript program performs encryptions and decryptions using the Caesar cipher.
The program
Instructions
Input the plaintext or ciphertext, enter the shift value (an integer between 0 and 25), then press Encrypt
or Decrypt
.
If Preserve punctuation and case
is disabled, then the output is formatted in traditional way: uppercase letters in blocks of 5.
Non-letters are not subjected to encryption or decryption. The default shift value of 13 corresponds to the ROT13 cipher.
Links
Last modified: 2008-04-16-Wed
Created: 2007-08-18-Sat