Maths and Computing:

menu
Home
Books
Coding
Computing
Data
Encoding
Mathematics

Cipher Tools

Cipher Tools: Caesar Cipher



Caesar Cipher: Shift 3

plaintextabcdefghijklmnopqrstuvwxyz
ciphertextdefghijklmnopqrstuvwxyzabc

Select the shift value

The Caesar Cipher is a substitution cipher.

Encryption

With a shift value of 3 each letter is replaced with the letter that is 3 positions further forward

Decryption

With a shift value of 3 each letter is replaced with the letter that is 3 positions further back. Alternatively, this is the equivalent of replacing each letter with the letter that is 23 positions further back


plaintext

ciphertext

Note:

  • Spaces are preserved
  • Uppercase characters are converted to lowercase first
  • All other characters are removed

Calculation

Characterabcdefghijklmnopqrstuvwxyz
Value012345678910111213141516171819202122232425
Text CharacterText ValueShiftCalculationCipher ValueCipher Character

Polyalphabetic Cipher: 1, 2, 3

plaintextabcdefghijklmnopqrstuvwxyz
alphabet 1bcdefghijklmnopqrstuvwxyza
alphabet 2cdefghijklmnopqrstuvwxyzab
alphabet 3defghijklmnopqrstuvwxyzabc


Select the number of alphabets

Select the shift value for alphabet 1

Select the shift value for alphabet 2

Select the shift value for alphabet 3

Select the shift value for alphabet 4


plaintext
ciphertext

Note:

  • Spaces are preserved
  • Uppercase characters are converted to lowercase first
  • All other characters are removed
  • Shift squence only applied to alphbetical characters

Calculation

Characterabcdefghijklmnopqrstuvwxyz
Value012345678910111213141516171819202122232425
Text CharacterText ValueAlphabetShiftCalculationCipher ValueCipher Character

AlphabetABCDEFGH
Binary Value0000000001000100001100100001010011000111
 
AlphabetIJKLMNOP
Binary Value0100001001010100101101100011010111001111
 
AlphabetQRSTUVWX
Binary Value1000010001100101001110100101011011010111
 
AlphabetYZ[#]^$%
Binary Value1100011001110101101111100111011111011111
 

Select the number of bits




plaintext
one-time pad
ciphertext


Note:

  • Spaces are preserved
  • Characters must match case of letters in the current alphabet
  • All other characters are removed


Contents Copyright 2026 Andy Abraham

Please email comments to info@mathsandcomputing.co.uk