Find adventure
My adventures Online Events Kits Boxes Challenges Shows Services Pages
Privacy Policy Terms of Use Sponsors About Contacts FAQ Pages Services Shows Boxes Kits Online Events My adventures

What is ADFGVX cipher?

The cipher is named after the six possible letters used in the ciphertext: A, D, F, G, V and X. The letters were chosen deliberately because they are very different from one another in the Morse code

 

ADFGVX is the improved version of ADFGX cipher which was invented earlier. First cipher did not have numbers and I and J letters were merged. So later cipher included numbers and made I and J seperate.

 

To use ADFGVX cipher you need to create a secret mixed alphabet and fit into 6x6 Polybius Square, like in this example below:

 

 ADFGVX
A

N

A1C3H
D8TB2OM
FE5WRPD
G4F6G7I
V9J0KLQ
XSUVXYZ

 

If you would like to encrypt this message "attack at 1200" then you would get:

 

ATTACKAT1200
ADDDDDADAGVGADDDAFDGVFDX

 

Then, a new table is created with a key as a heading. Let's use "PRIVACY" as a key. ADDDDDADAGVGADDDAFDGVFDX is transformed to this:

 

PRIVACY
ADDDDDA
DAGVGAD
DDAFDGV
FDX    

 

The columns are sorted alphabetically, based on the keyword, and the table changes to this:

 

ACIPRVY
DDDADDA
GAGDAVD
DGADDFV
  XFD  

 

Then, appending the columns to each other results in this ciphertext:

DGDD AGDG AXAD DFDA DDDV FADV

 

With the known keyword, the columns can be reconstructed and placed in the correct order. When using the original table containing the secret alphabet, the text can be deciphered.