Professional Documents
Culture Documents
Encryption
The process of encoding messages through secret codes.
Caesar Cipher
It is the first cryptosystem and a.k.a Caesar Code
Used by Julius Caesar in sending messages to his troops.
A B C D E F G H I J K L MNO P Q R S T U VWX Y Z
D E F G H I J K L MNO P Q R S T U VWX Y Z A B C
Message C R Y P T O G R A P H Y
Position 2 17 24 15 19 14 6 17 0 15 7 24
p= 3 6 51 72 45 57 42 18 51 0 45 21 72
positionx3
0, 26, 52, 78, 104,…
New 6 25 20 19 5 16 18 25 0 19 21 20
Position
(pi mod 26)
Replace with
the G Z U T F Q S Z A T V U
corresponding
letter The encrypted message.
Steps: SOLUTION
Message H S M U M A H U H U P
New 7 18 12 20 12 0 7 20 7 20 15
Position
P=5
New position x 21
147 378 252 420 252 0 147 420 147 420 315
(see table 1)
0, 26, 52, 78, 104, 130, 156, 182, 208, 234, 260, 286, 312, 338, 364, 390, 416,…
Position
(use mod26)
17 14 18 4 18 0 17 4 17 4 3
Replace all values
by their
R O S E S A R E R E D
corresponding
letters
Steps Solution
Message X A S K N A G A D A D A
New Position 23 0 18 10 13 0 6 0 3 0 3 0
0, 26, 52, 78, 104, 130, 156, 182, 208, 234, 260, 286, 312, 338, 364, 390, 416,…
Position 7 0 10 20 13 0 12 0 19 0 19 0
(use mod26)