ROTATION CIPHER (Part 2) - ROT-13

173 2 0
                                    


ROT13 ("rotate by 13 places", sometimes hyphenated ROT-13) is a simple letter substitution cipher that replaces a letter with the letter 13 letters after it in the alphabet. ROT13 is a special case of the Caesar cipher, developed in ancient Rome.
Because there are 26 letters (2×13) in the basic Latin alphabet, ROT13 is its own inverse; that is, to undo ROT13, the same algorithm is applied, so the same action can be used for encoding and decoding.
A =N
B =O
C =P
D =Q
E = R
F = S
G = T
H = U
I = V
J = W
K = X
L = Y
M = Z
N = A
O = B
P = C
Q = D
R = E
S = F
T = G
U = H
V = I
W = J
X = K
Y = L
Z = M
ROT13 replaces each letter by its partner 13 characters further along the alphabet. For example, HELLO becomes URYYB (or, reversing, URYYB becomes HELLO again).

Your Cryptography Where stories live. Discover now