Home > College Algebra > Ciphers > ADFGVX Cipher (encoder / decoder) example

2. ADFGVX Cipher (encoder / decoder) example ( Enter your problem )
  1. Examples
Other related methods
  1. A1Z26 Cipher (Letter to number Cipher)
  2. ADFGVX Cipher
  3. ADFGX Cipher
  4. Affine Cipher
  5. Atbash Cipher
  6. Autokey Cipher / Autoclave Cipher
  7. Bacon Cipher
  8. Beaufort Cipher
  9. Bifid Cipher
  10. Caesar Cipher
  11. Chaocipher
  12. Columnar transposition Cipher
  13. Nihilist Cipher
  14. Polybius Square Cipher
  15. Rail fence Cipher
  16. ROT-5 Cipher
  17. ROT-13 Cipher
  18. ROT-18 Cipher
  19. ROT-47 Cipher
  20. ROT-N Cipher
  21. Running Key Cipher
  22. Substitution Cipher
  23. Tap code Cipher
  24. Trifid Cipher
  25. Trithemius Cipher
  26. Vigenere Cipher

1. A1Z26 Cipher (Letter to number Cipher)
(Previous method)
3. ADFGX Cipher
(Next method)

1. Examples





1. ADFGVX Cipher encoder

Text : ABCD efghi
Key : key
Alphabet : abcdefghijklmnopqrstuvwxyz0123456789


Solution:
The ADFGVX Cipher is a combination of modified polybius square with columnar transposition. It uses six letters A,D,F,G,V,X

Alphabet : abcdefghijklmnopqrstuvwxyz0123456789

Build the square:
Fill the 6x6 square row by row by Alphabet : abcdefghijklmnopqrstuvwxyz0123456789
and labeling both rows and columns with adfgvx
adfgvx
aabcdef
dghijkl
fmnopqr
gstuvwx
vyz0123
x456789

Fractionate the plaintext
Remove all the symbols except available in the square.
Each character is replaced by its row and column labels, producing a stream of adfgvx pairs.
This step turns the Text into fractionated form
Plaintextabcdefghi
Pairsaaadafagavaxdadddf

Apply the columnar transposition on fractionated message
columnar transposition steps :

Write the plaintext in row-by-row
k
2
e
1
y
3
aaa
daf
aga
vax
dad
ddf

The columns are sorted alphabetically, based on the keyword and the new table is
e
1
k
2
y
3
aaa
adf
gaa
avx
add
ddf

Read the ciphertext in column-by-column
aagaad,adavdd,afaxdf

Plaintext : aaadafagavaxdadddf
Key : key
Ciphertext : aagaadadavddafaxdf

Plaintext : abcdefghi
Key : key
Ciphertext : aagaadadavddafaxdf

2. ADFGVX Cipher encoder

Text : hello world
Key : code
Alphabet : abcdefghijklmnopqrstuvwxyz0123456789


Solution:
The ADFGVX Cipher is a combination of modified polybius square with columnar transposition. It uses six letters A,D,F,G,V,X

Alphabet : abcdefghijklmnopqrstuvwxyz0123456789

Build the square:
Fill the 6x6 square row by row by Alphabet : abcdefghijklmnopqrstuvwxyz0123456789
and labeling both rows and columns with adfgvx
adfgvx
aabcdef
dghijkl
fmnopqr
gstuvwx
vyz0123
x456789

Fractionate the plaintext
Remove all the symbols except available in the square.
Each character is replaced by its row and column labels, producing a stream of adfgvx pairs.
This step turns the Text into fractionated form
Plaintexthelloworld
Pairsddavdxdxffgvfffxdxag

Apply the columnar transposition on fractionated message
columnar transposition steps :

Write the plaintext in row-by-row
c
1
o
4
d
2
e
3
ddav
dxdx
ffgv
fffx
dxag

The columns are sorted alphabetically, based on the keyword and the new table is
c
1
d
2
e
3
o
4
davd
ddxx
fgvf
ffxf
dagx

Read the ciphertext in column-by-column
ddffd,adgfa,vxvxg,dxffx

Plaintext : ddavdxdxffgvfffxdxag
Key : code
Ciphertext : ddffdadgfavxvxgdxffx

Plaintext : helloworld
Key : code
Ciphertext : ddffdadgfavxvxgdxffx





This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here



1. A1Z26 Cipher (Letter to number Cipher)
(Previous method)
3. ADFGX Cipher
(Next method)





Share this solution or page with your friends.
 
 
Copyright © 2026. All rights reserved. Terms, Privacy
 
 

.