Unravel the mysteries of ancient codes with our free Shift Cipher Calculator. Easily encrypt messages or decrypt texts using the classic Caesar cipher. This user-friendly tool helps you understand basic cryptography by shifting letters in the alphabet. Quickly encode or decode any message with your chosen key!
Formula:
The Shift Cipher (or Caesar Cipher) works by substituting each letter in the plaintext with a letter a certain number of places down or up the alphabet. The number of places is called the 'shift key'.
Encryption Formula: C = (P + K) mod 26
Decryption Formula: P = (C - K) mod 26
Where:P = Original Plaintext letter (represented as a number 0-25)C = Ciphertext letter (represented as a number 0-25)K = Shift Key (the number of positions to shift)