Home > College Algebra > Ciphers > Additive cipher / Shift Cipher / Caesar Cipher (encoder / decoder) example

12. Caesar Cipher / Additive cipher / Shift Cipher (encoder / decoder) example ( Enter your problem )

1. Examples





1. Caesar Cipher encoder

Text : ABCD efghi 123
Shift : 1
Alphabet : abcdefghijklmnopqrstuvwxyz


Solution:
The Caesar cipher is a simple substitution cipher, where each letter of a given text is replaced by a letter with a fixed number of positions down the alphabet

Alphabet = abcdefghijklmnopqrstuvwxyz

Plaintextabcdefghijklmnopqrstuvwxyz
x012345678910111213141516171819202122232425
(x+1) mod 26123456789101112131415161718192021222324250
Ciphertextbcdefghijklmnopqrstuvwxyza

Plaintext : ABCD efghi 123
Shift : 1
Ciphertext : BCDE fghij 123

2. Caesar Cipher encoder

Text : hello world
Shift : 2
Alphabet : abcdefghijklmnopqrstuvwxyz


Solution:
The Caesar cipher is a simple substitution cipher, where each letter of a given text is replaced by a letter with a fixed number of positions down the alphabet

Alphabet = abcdefghijklmnopqrstuvwxyz

Plaintextabcdefghijklmnopqrstuvwxyz
x012345678910111213141516171819202122232425
(x+2) mod 26234567891011121314151617181920212223242501
Ciphertextcdefghijklmnopqrstuvwxyzab

Plaintext : hello world
Shift : 2
Ciphertext : jgnnq yqtnf





This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here





Share this solution or page with your friends.
 
 
Copyright © 2026. All rights reserved. Terms, Privacy
 
 

.