Codes and Cipher
Codes and Cipher
1 2 3 4 5 6 7 8 1 2 3 4 5
1 A B C D E F G H 1 A B C D E
2 I/J K L M N O P Q 2 F G H I/J K
3 R S T U V W X Y 3 L M N O P
4 Z A B C D E F G 4 Q R S T U
5 H I/J K L M N O P 5 V W X Y Z
6 Q R S T U V W X
7 Y Z A B C D E F
8 G H I/J K L M N O
9 P Q R S T U V W
10 X Y Z A B C D E
Caesar Shift Cipher
Affine Cipher
It is one of the most simplest and known ciphers in
the world. By shifting other line of alphabetic letters It is a type of mono alphabetic substitution cipher,
direction or another you create cipher text. wherein each letter in an alphabet is mapped to its
numeric equivalent, encrypted using a simple
mathematical function, and converted back to a letter
(Each letter is ciphered function (ax + b) mod 26).
A B C D E F G H I J K L M N O P
A B C D E F G H I J K L M N O P Q 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
D E F G H I J K L M N O P Q R S T
R S T U V W X Y Z Q R S T U V W X Y Z
U V W X Y Z A B C 16 17 18 19 20 21 22 23 24 25
Plaintext A F F I N E
X 0 5 5 8 13 4
(5X + 8) 8 33 33 48 73 28
(5X + 8) mod 26 8 7 7 22 21 2
Binary Code