1-Caesar Cipher

53.8K 1.1K 109
                                        


Caesar Cipher:  

          Also known as Caesar's cipher, the shift cipherCaesar's code or Caesar shift, is one of the simplest and most widely known encryption techniques. 

          It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet.

          For example, with a left shift of 3, D would be replaced by A; E would become B, and so on. The method is named after Julius Caesar, who used it in his private correspondence.

       ROT13 is a Caesar cipher, a type of substitution cipher. In ROT13, the alphabet is rotated 13 steps.

KEY:

  AX                                 N=  K
B=  Y                                 O=  L
C=   Z                                P=  M
D=  A                                Q=  N
E=  B                                 R=  O
F=  C                                 S=  P
GD                                T=  Q
H=  E                                U=  R
I=  F                                  VS
J=  G                                W=  T
            K=  H                                X=  U           
L=   I                                 Y=  V
MJ                                Z=  W

Plain:ABCDEFGHIJKLMNOPQRSTUVWXYZ
Cipher:XYZABCDEFGHIJKLMNOPQRSTUVW

When encrypting, a person looks up each letter of the message in the "plain" line and writes down the corresponding letter in the "cipher" line.

Plaintext:
          SOMETIMES BEING ALONE IS GOOD BUT IT WAS NEVER RIGHT.

Ciphertext:
          PLJBQFJBP YBFKD XILKB FV DLLA YRQ FQ TXP KBSBO OFDEQ.

*Deciphering is done in reverse, with a right shift of 3.*

BOOK OF CODES AND CIPHERSWhere stories live. Discover now