Cifra ADFGVX

Criptografe e descriptografe texto com a cifra ADFGVX da Primeira Guerra Mundial: um quadrado de Políbio 6×6 com chave e transposição por colunas.

Entrada
0 caract. · 0 bytes
Testar:
Resultado
✓ Fracionamento por um quadrado de Políbio 6×6 com chave ✓ Transposição por colunas com uma segunda palavra-chave ✓ Não armazenamos suas mensagens ✓ Processado em nosso servidor
Exemplos
Encrypt with two keys
Chave: PRIVACY Chave de transposição: BATTLE
Entrada ATTACK AT DAWN
Saída VVVVAAAAGFFXGFDFGAGGGXGX

Square key PRIVACY builds the 6×6 grid; transposition key BATTLE rearranges the fractionated letters.

Decrypt with the same keys
Chave: PRIVACY Chave de transposição: BATTLE
Entrada VVVVAAAAGFFXGFDFGAGGGXGX
Saída ATTACKATDAWN

The same square key and transposition key are required to recover the plaintext.

Encrypt letters and digits
Chave: SECRET Chave de transposição: GERMAN
Entrada AGENT 007
Saída AVXVFAFVGVGDFDAX

ADFGVX includes digits in its 6×6 square. With square key SECRET and transposition key GERMAN, spaces are removed and AGENT 007 becomes this ADFGVX-label ciphertext.

Decrypt an ADFGVX-label ciphertext
Chave: SECRET Chave de transposição: GERMAN
Entrada AVXVFAFVGVGDFDAX
Saída AGENT007

Paste the ciphertext made only from A, D, F, G, V, and X, then reuse square key SECRET and transposition key GERMAN to recover the message and its digits.

How the ADFGVX cipher works

ADFGVX is a German field cipher from World War I. This historical cipher combines fractionation in a keyed 6×6 Polybius square with columnar transposition, making it substantially more complex than either stage on its own.

To encrypt text with the ADFGVX cipher, enter a message, a square key, and a transposition key. The square key places the 26 English letters and digits 0–9 into the 6×6 grid. Its rows and columns are labelled A, D, F, G, V, and X, letters selected because their Morse-code signals are easy to distinguish. Each plaintext character is replaced by its row-and-column pair; the transposition key then changes the order of those ADFGVX labels to create the ciphertext.

To decrypt, use exactly the same two keys and paste the ciphertext made from A, D, F, G, V, and X. The tool reverses the columnar transposition first, then reads every label pair back through the keyed Polybius square. Spaces and punctuation are not encrypted, so the recovered result contains the supported letters and digits only. This online ADFGVX cipher is useful for learning classical cryptography, historical study, and puzzles; it is not suitable for protecting modern sensitive data.

FAQ

The letters A, D, F, G, V and X label the rows and columns of the 6×6 square. They were chosen because their Morse code representations are very different, reducing transmission errors.

The square key mixes the 6×6 Polybius grid, and the transposition key drives the columnar transposition step. Both are required to encrypt and decrypt.

ADFGX is the earlier version with a 5×5 square for 25 letters only. ADFGVX extends it to a 6×6 square that also includes the digits 0–9.

Before transposition, every plaintext symbol is converted into a row-and-column pair from A, D, F, G, V, and X. Columnar transposition rearranges those labels but does not introduce other ciphertext letters.

Yes. In the English implementation, the keyed 6×6 Polybius square contains the alphabet plus digits 0–9, so messages such as AGENT 007 can be encrypted and decrypted with the same two keys.

This implementation needs every supported alphabet to fit in 36 cells. The French alphabet used by the site has too many characters for the 6×6 square, so it cannot be processed reliably by this ADFGVX cipher tool.

No. ADFGVX is a historical cipher intended for education, puzzles, and studying World War I cryptography. Use modern, well-reviewed encryption for confidential or personal information.
Ferramentas relacionadas

Cifra de César

Cifra clássica por deslocamento de letras com valores personalizados.

Cifra XOR

Criptografia e descriptografia XOR online com chaves de texto ou hex.

Cifra de Playfair

Cifra clássica de substituição por dígrafos com matriz baseada em palavra-chave.