Unlock the secrets of classic cryptography with our Caesar Cipher Shifter Calculator. This simple yet effective tool allows you to encrypt your messages or decrypt unknown texts by applying a specific shift value to each letter. Perfect for learning, practicing, or quickly encoding/decoding messages online.
Formula:
The Caesar cipher, a type of substitution cipher, works by shifting each letter in the plaintext a certain number of places down or up the alphabet. For instance, with a shift value of 3, 'A' becomes 'D', 'B' becomes 'E', and so forth, with the alphabet wrapping around from Z to A.
- C = (P + K) mod 26 (for encryption)
- P = (C - K) mod 26 (for decryption)
Where:
- P = Plaintext letter (numerical value, A=0, B=1, ..., Z=25)
- C = Ciphertext letter (numerical value)
- K = Shift key (the number of positions to shift)