Rot13

1.2K 20 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. The algorithm provides virtually no cryptographic security, and is often cited as a canonical example of weak encryption.

Look up table:

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

NOTE :

Only those letters which occur in the English alphabet are affected; numbers, symbols, whitespace, and all other characters are left unchanged. Because there are 26 letters in the English alphabet and 26 = 2 × 13, the ROT13 function is its own inverse:

©wikipedia

CODES & CIPHERSWhere stories live. Discover now