# 波利比奥斯方阵

**波利比奥斯方阵**（Polybius square）是一种坐标密码，字母表中的每个字母都用一对数字表示，这对数字给出该字母在一个小方格阵列中的行与列，经典形式是一个容纳25个字母的5×5方阵，I和J共用一个格子<sup>[1](https://www.une.edu.au/info-for/visitors/museums/museum-of-antiquities/codebreaker-challenge/spartan-scytale)</sup>。古希腊历史学家波利比奥斯（Polybius）在公元前2世纪描述了这一基本方案，将其作为远距离用火炬信号传递消息的方法，后来这个方阵成为从虚无主义者敲击密码到德国一战战地密码等多种密码的构件<sup>[2](https://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%3A1999.01.0234%3Abook%3D10)</sup><sup> • </sup><sup>[3](https://ciphermuseum.com/ciphers/polybius.html)</sup>。

| 关键事实 | 详情 |
|---|---|
| 方阵 | 5×5方阵，容纳25个字母的英语字母表，I和J共用一个格子；每个字母映射到一个由数字1–5组成的（行，列）对<sup>[1](https://www.une.edu.au/info-for/visitors/museums/museum-of-antiquities/codebreaker-challenge/spartan-scytale)</sup> |
| 起源 | 由波利比奥斯（约公元前150年）在《历史》第10卷第45节中描述，作为一种基于字母表的烽火信号方法，建立在克勒奥克塞诺斯（Cleoxenus）和德莫克利托斯（Democlitus）的方案之上<sup>[2](https://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%3A1999.01.0234%3Abook%3D10)</sup><sup> • </sup><sup>[4](https://reader.humanitext.ai/en/read/urn%3Acts%3AgreekLit%3Atlg0543.tlg001.humanitext-grc2%3A10.45.1-10.45.12)</sup> |
| 安全性 | 一种伪装的单表替换密码；每个字母恰好映射到一个数字对，因此对数字对进行频率分析即可轻易破解<sup>[3](https://ciphermuseum.com/ciphers/polybius.html)</sup> |
| 密钥 | 古代的信号板将字母保持固定顺序；用关键词打乱方阵是后来才出现的现代附加手段<sup>[3](https://ciphermuseum.com/ciphers/polybius.html)</sup><sup> • </sup><sup>[5](https://research-information.bris.ac.uk/ws/portalfiles/portal/263833703/Myths_and_Histories_of_the_Spartan_scytale_29_11_2020.pdf)</sup> |
| 军事用途 | 德国ADFGX密码（1918年3月，5×5方阵）和ADFGVX密码（1918年6月，含数字的6×6方阵）的基础<sup>[5](https://research-information.bris.ac.uk/ws/portalfiles/portal/263833703/Myths_and_Histories_of_the_Spartan_scytale_29_11_2020.pdf)</sup> |
| 衍生密码 | 双分密码（1901年）、三分密码、虚无主义者密码以及监狱敲击密码都建立在坐标思想之上<sup>[3](https://ciphermuseum.com/ciphers/polybius.html)</sup> |

## 工作原理

将25个字母按字母顺序写入一个5×5方阵，行和列编号为1到5。然后每个字母被替换为两个数字——其行号和列号：在标准英语方阵中，E是15，X是53<sup>[1](https://www.une.edu.au/info-for/visitors/museums/museum-of-antiquities/codebreaker-challenge/spartan-scytale)</sup>。单词HELLO变成23 15 31 31 34<sup>[3](https://ciphermuseum.com/ciphers/polybius.html)</sup>。

在波利比奥斯最初的信号应用中，坐标是用火炬传递的。字母表被分为五组，每组五个字母，写在五块信号板上。信号员先在左侧举起火炬，指示字母所在的是哪块信号板（行组），然后在右侧举起火炬，指示该字母在组内的位置；接收者写下字母，然后对下一个字符重复这一过程<sup>[2](https://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%3A1999.01.0234%3Abook%3D10)</sup>。波利比奥斯将此视为对公元前4世纪军事作家埃涅阿斯·塔克提库斯（Aeneas Tacticus）的烽火信号系统的改进——后者只能传递预先约定的消息；而这一新方法由克勒奥克塞诺斯和德莫克利托斯发明、经波利比奥斯本人完善，可以传递任何消息<sup>[4](https://reader.humanitext.ai/en/read/urn%3Acts%3AgreekLit%3Atlg0543.tlg001.humanitext-grc2%3A10.45.1-10.45.12)</sup><sup> • </sup><sup>[6](https://research-information.bris.ac.uk/en/publications/from-fire-signals-to-adfgx-a-case-study-in-the-adaptation-of-anci/)</sup>。

## 密码分析

作为独立的密码，方阵基本上不提供任何安全性。因为每个字母恰好映射到一个坐标对，字母频率得以保留，只是用数字表达出来；分析者统计最常见的数字对，将其与预期的字母频率匹配即可<sup>[3](https://ciphermuseum.com/ciphers/polybius.html)</sup>。无密钥的方阵是公开知识，即便是用关键词打乱的方阵也仍然是单表替换密码，完全经不起对数字对频率施加的频率分析<sup>[7](https://www.laoutaris.cc/blog/polybius-square/)</sup>。

古代版本甚至并不以保密为目的：在波利比奥斯的记述中，字母在信号板上的位置从未改变，因此该方案是一种信号编码而非有密钥的密码。后来的作者指出，定期更换字母顺序本可以使该方法更加安全，代价是必须将新的排列方式传达给每一个站点<sup>[5](https://research-information.bris.ac.uk/ws/portalfiles/portal/263833703/Myths_and_Histories_of_the_Spartan_scytale_29_11_2020.pdf)</sup>。

## 衍生密码

**分馏。** 方阵持久的贡献在于将一个字母拆分为两个独立坐标的思想。法国业余密码学家费利克斯·德拉斯特尔（Felix Delastelle）在其1901年的双分密码中利用了这一点：每个明文字母被转换为行坐标和列坐标，两股坐标流分别写出，再读出新的坐标对并转换回字母，从而在各位置之间混合坐标信息<sup>[8](https://ciphermuseum.com/halls/transposition.html)</sup><sup> • </sup><sup>[9](https://ciphermuseum.com/ciphers/bifid.html)</sup>。他的三分密码将同样的原理扩展到3×3×3的立方体，每个字母有三个坐标<sup>[8](https://ciphermuseum.com/halls/transposition.html)</sup>。

**ADFGX和ADFGVX。** 在第一次世界大战的最后一年，德国军事情报部门在ADFGX和ADFGVX密码中使用了波利比奥斯方阵。ADFGX于1918年3月启用，使用一个以随机顺序填入26个德语字母的5×5方阵；行和列用字母A、D、F、G和X标记，选择这些字母是因为它们的摩尔斯电码对应信号彼此听起来差异很大，可最大限度减少传输错误<sup>[5](https://research-information.bris.ac.uk/ws/portalfiles/portal/263833703/Myths_and_Histories_of_the_Spartan_scytale_29_11_2020.pdf)</sup>。该密码由德国陆军无线电军官弗里茨·内贝尔（Fritz Nebel）设计，在波利比奥斯替换之后又施加了一次列换位<sup>[10](https://www.encyclopedia.com/politics/encyclopedias-almanacs-transcripts-and-maps/adfgx-cipher)</sup>。1918年6月1日增加了字母V，形成6×6方阵，可以编码全部26个字母加上10个数字<sup>[10](https://www.encyclopedia.com/politics/encyclopedias-almanacs-transcripts-and-maps/adfgx-cipher)</sup>。法国密码分析学家、法军炮兵上尉乔治·潘万（Georges Painvin）于1918年利用重复的消息报头和在同一密钥下发送的多条消息，破解了两个版本<sup>[10](https://www.encyclopedia.com/politics/encyclopedias-almanacs-transcripts-and-maps/adfgx-cipher)</sup><sup> • </sup><sup>[11](https://ciphermuseum.com/ciphers/adfgx.html)</sup>。

**敲击密码。** 由于坐标只是两个小数字，方阵自然可以转换为敲击。俄国虚无主义者——沙皇的反对者——在牢房之间通过在墙上敲击每个字母的两个坐标来通信；由于使用35个字母的西里尔字母表，他们需要一个6×6方阵<sup>[12](https://www.davidsalomon.name/UTICScompSec/Cryptog.pdf)</sup>。同样的原理留存为敲击密码，囚犯用两组敲击来表示每个字母。敲击密码使用与经典方阵相同的5×5方阵，但合并的是C和K而非I和J<sup>[13](https://cipherpad.dev/learn/polybius-square-explained)</sup>。

## 遗产

坐标思想贯穿于后来的密码学。双分密码式的符号拆分预示了现代分组密码的扩散步骤：AES的列混合操作在GF(2⁸)上通过矩阵乘法混合每一列的四个字节，以数学上严谨的形式应用了分馏原理<sup>[8](https://ciphermuseum.com/halls/transposition.html)</sup>。方阵的字母到数字的转换同样类似于现代密码中字符的二进制表示，其方阵查表也类似于分组密码的替换表（S盒）<sup>[3](https://ciphermuseum.com/ciphers/polybius.html)</sup><sup> • </sup><sup>[9](https://ciphermuseum.com/ciphers/bifid.html)</sup>。因此，方阵仍然是密码学课程中的标准教学示例，用于介绍替换、分馏以及频率分析的局限性<sup>[14](https://caesarcipher.org/ciphers/polybius)</sup>。

## References

1. [Polybius Squares, Museum of Antiquities, University of New England](https://www.une.edu.au/info-for/visitors/museums/museum-of-antiquities/codebreaker-challenge/spartan-scytale)
2. [Polybius, Histories, Book 10, Perseus Digital Library](https://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%3A1999.01.0234%3Abook%3D10)
3. [Polybius Square, The Cipher Museum](https://ciphermuseum.com/ciphers/polybius.html)
4. [Polybius, The Histories 10.45.1–10.45.12, Humanitext Reader](https://reader.humanitext.ai/en/read/urn%3Acts%3AgreekLit%3Atlg0543.tlg001.humanitext-grc2%3A10.45.1-10.45.12)
5. [Martine Diepenbroek, Myths and Histories of the Spartan scytale (PDF), University of Bristol](https://research-information.bris.ac.uk/ws/portalfiles/portal/263833703/Myths_and_Histories_of_the_Spartan_scytale_29_11_2020.pdf)
6. [Martine Diepenbroek (2019), From Fire Signals to ADFGX, KLEOS – The Amsterdam Bulletin of Ancient Studies and Archaeology](https://research-information.bris.ac.uk/en/publications/from-fire-signals-to-adfgx-a-case-study-in-the-adaptation-of-anci/)
7. [The Polybius Square Cipher, laoutaris.cc](https://www.laoutaris.cc/blog/polybius-square/)
8. [Hall IV: Transposition & Fractionation, The Cipher Museum](https://ciphermuseum.com/halls/transposition.html)
9. [Bifid Cipher, The Cipher Museum](https://ciphermuseum.com/ciphers/bifid.html)
10. [ADFGX Cipher, Encyclopedia of Espionage, Intelligence, and Security, Encyclopedia.com](https://www.encyclopedia.com/politics/encyclopedias-almanacs-transcripts-and-maps/adfgx-cipher)
11. [ADFGX Cipher, The Cipher Museum](https://ciphermuseum.com/ciphers/adfgx.html)
12. [David Salomon, Cryptography Notes (UCompSec)](https://www.davidsalomon.name/UTICScompSec/Cryptog.pdf)
13. [Polybius Square Explained, CipherPad](https://cipherpad.dev/learn/polybius-square-explained)
14. [Polybius Square Cipher: Ancient Coordinate Encryption, CaesarCipher.org](https://caesarcipher.org/ciphers/polybius)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 通信与日常技术 › 电报技术与线路基础设施 › Telegraph codes and operating practice › Telegraph code systems › Optical and semaphore telegraph codes

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/polybius-square

English original: https://www.edgepedia.org/polybius-square
