What's new

Closed Ciphers & codes list ascii type: substitution

Status
Not open for further replies.
SCYTALE CIPHER
Type: Transposition
> Suppose the rod allows one to write four letters around in a circle and five letters down the side of it. To decrypt, all one must do is wrap the leather strip around the rod and read across.
(Note: make a table and insert there your input, table is based on diameter)
Example message:
Plaintext: Hey i was doing just fine before i met you
Diameter: 7
H|E|Y| I|W|A|S
D|O| I|N|G|J|U
S|T|F| I|N|E|B
E|F|O|R|E| I|M
E|T|Y|O|U|
Ciphertext: HDSEEEOTFTYIFOY
INIROWGNEUAJEISUBM
 
ROTATION CODE
Type: Substitution
(Note: it's formula forencryption is f(x)=(ax)mod26 and for decryption is f(y)=a^-1(y)mod26, where x or y corresponds to the position of the letter in the alphabet, e.g. a=0, b=1, c=2.....z=25, mod26 correspond to the limit of the rotation, and a correspond to any input number)
Example: (encryption)
Plaintext: KING
F(x)=(ax)mod26
a=2
K=10, f(x)=(2*10)mod26=20
�I =8, f(x)=(2*8)mod26=16
N=13, f(x)=(2*13)mod26=26
G=6, f(x)=(2*6)mod26=12
K=20=U
I =16=Q
N=26=A
G=12=M
Ciphertext: UQAM
Example: (decryption)
Ciphertext: UQAM
F(y)=a^-1(y)mod26
a=2
U=20, f(y)=2^-1(20)mod26=10
Q=16, f(y)=2^-1(16)mod26=8
A=26, f(y)=2^-1(26)mod26=13
M=12, f(y)=2^-1(12)mod26=6
U=10=K
Q=8=I
A=13=N
M=6=G
Plaintext: KING
(Note: mod26, when no>25, then it will rotate back to 0, 26=0, 27=1, 28=2 and so on, where a=0 and z=25, e.g. 30=e)
 
AFFINE CIPHER
Type: Substitution
(Note: it's formula for encryption is f(x)=(ax+b)mod n, and for decryption is f(y)=a^-1(y-b)mod n, where "a" should be coprime of "n", "x" or "y" corresponds on the position of the letter in the alphabet (see rotation code), and "b" is any value of input, and mod n is the limit of rotation)
Example: (encryption)
Plaintext: AFFINE
a=5, b=8, n=26
F(x)=(ax+b)mod26
A=0, F(0)=(5(0)+8)mod26=8
F=5, F(5)=(5(5)+8)mod26=33
F=5, F(5)=(5(5)+8)mod26=33
I =8, F(8)=(5(8)+8)mod26=48
N=13, F(13)=(5(13)+8)mod26=73
E=4, F(4)=(5(4)+8)mod26=28
A=08=I
F=33=H
F=33=H
I =48=W
N=73=V
E=28=C
Ciphertext: IHHWVC
Example: (decryption)
Ciphertext: IHHWVC
a=5, b=8, n=26
F(y)=a^-1(y-b)mod n
I =08, f(8)=5^-1(8-8)mod26=0
H=33, f(33)=5^-1(33-8)mod26=5
H=33, f(33)=5^-1(33-8)mod26=5
W=48, f(48)=5^-1(48-8)mod26=8
V=73, f(73)=5^-1(73-8)mod26=13
C=28, f(28)=5^-1(28-8)mod26=4
I =0=A
H=5=F
H=5=F
W=8=I
V=13=N
C=5=E
Plaintext: AFFINE
 
RAIL FENCE CIPHER
Type: Transposition
(Note: shift depends on no. key or rails, and letters should be written downward and diagonally, let `=no. of shift or rails)
Plaintext: HEY I JUST MET YOU AND THIS IS CRAZY
shift: 3
h ` ` ` j ` ` ` m ` ` ` o ` ` ` d ` ` ` s ` ` ` r ` ` `
` e ` i ` u ` t ` e ` y ` u ` n ` t ` i ` i ` c ` a ` y
` ` y ` ` ` s ` ` ` t ` ` ` a ` ` ` h ` ` ` s ` ` ` z `
Ciphertext:
HJMODSREIUTEYUNTIICAYYSTAHSZ
 
BIFID CIPHER
Type: Substitution
CIPHER: First column and firs row contains numbers while the rest is letters)
A B C D E
A|A|B|C|D|E
B|F|G|H|J|K
C|L|M|N|O|P
D|Q|R|S|T|U
E|V|W|X|Y|Z
Ciphertext: CB CD CC BD AA ED
Plaintext: M O N D A Y
 
VIGENERE CIPHER
Type: Substitution
(Note: keywords sets at the starting point of alphabet and keyword shoud be inserted in the first column of the table mot in the row, keyword shoud be repeated until it reach the same value or no. of the text )
Image Link:
You do not have permission to view the full content of this post. Log in or register now.
net/v/t34.0-12/fr/cp0/e15/q65/
19275156_466620167009386_631290
0049747958517_n.jpg?efg=eyJpIj
oibyIsImVmIjpbIkRUIiwiWlIiXX0%
3D&_nc_eui2=v1%3AAeEHdzv1g44w1
yUc7XVFvt6-yMqG9LReEaw3g_ihB9I
jxVz1_ck6J1P5sDwZUjLUE_Pw8U-ob
tIxPwEi-FoMwyRrhhUtBFTWz4HU6XJ
4MEgD_gt7Bfv1aKhMUyKJ728DyYI&_
nc_ad=z-m&oh=544b4fdda2362e479
634b09ccf6f9ecd&oe=594CFECE
Example:
Plaintext: JUPITER
Keyword: mapsmap
(See vigenere table)
Ciphertext: VUEAFEG
 
pwede i as one mo nalang ts? nakarami rami kana rin ng thread na nagawa. flooded yung new topics page
 
HITMAN CIPHER
If A is A then N is N.
A~A
B~Z
C~Y
D~X
E~W
F~V
G~U
H~T
I~S
J~R
K~Q
L~P
M~O
N~N
Example
Ciphertext: TSHOAN
Plaintext: HITMAN
 
POLYBIUS SQUARE
Type: Numbers
> Polybius square, also known as the Polybius checkerboard, is a device invented by the Ancient Greekhistorian and scholar Polybius, for fractionating plaintext characters so that they can be represented by a smaller set of symbols.
(Note: create a table of any size, readings should start in column then row)
Example:5x5
Example: 5x5
1 2 3 4 5
1|A|B|C|D|E|
2|F|G|H| I |K|
3|L|M|N|O|P|
4|Q|R|S|T|U|
5|V|W|X|Y|Z|
Ciphertext: 3,2 3,4 3,3 4,3 4,4 1,5 4,2 or
Ciphertext: 32 34 33 43 44 15 42
Plaintext: MONSTER
 
Status
Not open for further replies.
Back
Top