Simple Shift Cipher
Paste the block of text that you want to work on into the "Plaintext" box.
- R moves the cipher text 1 letter to the right. A plaintext = Z ciphertext. This is equivalent to subtracting 1 from the value of the plaintext letter. P-1=C
- L moves the cipher text 1 letter to the left. A plaintext = B ciphertext. P+1=C
- Encode encodes with the current ciphertext. Punctuation and lowercase letters are preserved.
- Decode decodes with the current ciphertext. Punctuation and lowercase letters are preserved.
The results appear in the "Manipulated Text" box.
If you can read JavaScript then download the source and fiddle with it! The code has plenty of comments on it.
ASCII codes
These are the decimal numbers used by the machine to store letters and other characters.
- 32 space
- 65 A
- 90 Z
- 97 a
- 122 z
Useful References
w3schools.com JavaScript reference resources.
Wiki table of ASCII codes.