# 炸弹机（密码学）

**炸弹机**（波兰语：*bomba kryptologiczna*，即“密码学炸弹”）是1938年在波兰制造的一台机电式密码分析机，用于还原德国军用[恩尼格玛密码机](https://www.edgepedia.org/zh/enigma-machine)的每日转子设置。该机由数学家马里安·雷耶夫斯基（Marian Rejewski）及其同事耶日·鲁日茨基（Jerzy Różycki）和[亨里克·齐加尔斯基](https://www.edgepedia.org/zh/henryk-zygalski)（Henryk Zygalski）设计，由华沙的AVA无线电制造公司建造，是一台专为攻击恩尼格玛而造的机器，后来的英国图灵-韦尔奇曼炸弹机即得名于它。<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup><sup> • </sup><sup>[2](https://csenigma.pl/en/enigma/machine-against-machine/)</sup><sup> • </sup><sup>[8](https://enigma.umww.pl/en/)</sup>

| 关键事实 | 详情 |
|---|---|
| 主题 | 用于还原恩尼格玛每日转子设置的机电式机器，由波兰密码局与AVA工程师建造<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup> |
| 设计者 | 马里安·雷耶夫斯基、耶日·鲁日茨基和亨里克·齐加尔斯基；由华沙AVA无线电制造公司建造<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup> |
| 日期 | 1938年制成，时在德国于1938年9月更改指示程序之后<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup> |
| 建造数量 | 六台炸弹机，分别对应当时所用三个转子的六种可能排列<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup> |
| 搜索空间 | 全部105,456种转子设置（6种排列 × 26 × 26 × 26个位置）<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup> |
| 方法 | 在重复的三字母报文指示符中寻找规律，而非在报文正文中寻找<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup> |
| 失效 | 德国于1938年12月15日增加两个转子，可能排列从6种增至60种；密码局无力购置所需的六十台机器<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup> |
| 遗产 | 艾伦·图灵将其机器命名为“炸弹机”（The Bombe），即源于此；英国炸弹机基于已知明文片段，工作原理不同<sup>[2](https://csenigma.pl/en/enigma/machine-against-machine/)</sup><sup> • </sup><sup>[3](https://www.tnmoc.org/bombe)</sup> |

## 背景：波兰对恩尼格玛的攻击

恩尼格玛机由阿图尔·舍尔比乌斯（Arthur Scherbius）于1918年获得专利，1926年被德国海军采用，1928年被[德国陆军](https://www.edgepedia.org/zh/german-army)采用。<sup>[4](https://enigmamuseum.com/about/)</sup><sup> • </sup><sup>[2](https://csenigma.pl/en/enigma/machine-against-machine/)</sup>其安全性依赖于随每次按键变化、每日重置的转子设置，由此产生了大量可能的配置，许多人认为这使密码无法破译。<sup>[2](https://csenigma.pl/en/enigma/machine-against-machine/)</sup>

波兰密码局对此的回应是通过1929年在波兹南大学开设的一门秘密密码学课程聘用数学家——这在当时是一种新颖的做法。<sup>[2](https://csenigma.pl/en/enigma/machine-against-machine/)</sup>雷耶夫斯基1932年9月开始攻击军用恩尼格玛，利用通过法国情报部门获得的德国手册和设置表，于1932年底确定了军用机器转子的接线。<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup>了解机器的工作原理只是起点；每天仍需为当日的通信还原每日设置。<sup>[5](https://journal.sciencemuseum.ac.uk/article/zygalski-sheets-polish-codebreaking-and-the-role-of-reconstruction-in-the-top-secret-exhibition-at-the-science-museum/)</sup>

**机器辅助方法先行。** AVA于1934年生产了恩尼格玛“复制机”，同年雷耶夫斯基利用了他在每份报文开头六字母指示符中称为“特征”的规律。他设计了一台循环计（亦由AVA建造），用于编目全部105,456种转子设置的特征；编制目录耗时约一年，且在德国人更换反射器转子后不得不重做。<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup>鲁日茨基发展了“时钟法”，齐加尔斯基发展了穿孔板，作为互补技术。<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup>

## 设计与操作

1938年9月，德国人更改了指示程序，使特征法失效。雷耶夫斯基在指示符中发现了新的规律，并与AVA工程师合作制成了[炸弹机](https://www.edgepedia.org/zh/bombe)。<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup>该装置是六台相互连接的恩尼格玛复制机外加辅助设备的机电组合，旨在利用报文指示符中的重复现象。<sup>[6](https://enigma.design/history)</sup>

由于从三个转子中选出的三个转子可以以六种可能的排列装入机器，因此建造了六台炸弹机，每台对应一种转子排列。机器搜索全部105,456种转子设置，找出那些呈现可从截获报文指示符中确定的规律的设置。通常只有少数设置能产生这些规律，随后逐一试算每个候选设置以找出正确的那一个。<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup>

炸弹机建立在数学思想之上，尤其是循环理论（置换循环），并与齐加尔斯基的穿孔板配合使用，后者有助于确定编码转子的顺序。<sup>[7](https://aw.gov.pl/en/history/enigma-decryption/183%2CEnigma-decryption.html)</sup>

## 过时

**德国的变化使机器落伍。** 1938年12月15日，德国陆军引入了两个额外的转子。操作员仍一次装入三个转子，但可能的转子排列数从六种升至六十种，使波兰方法所需的工作量成倍增加。<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup><sup> • </sup><sup>[6](https://enigma.design/history)</sup>需要六十台炸弹机，每种排列一台，而密码局无力建造；此次变更之后，密码局只能破译少量恩尼格玛报文。<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup>齐加尔斯基的穿孔板在五个转子投入使用后需要1,560张穿孔板，帮助弥合了炸弹机与后续机器之间的空白。<sup>[5](https://journal.sciencemuseum.ac.uk/article/zygalski-sheets-polish-codebreaking-and-the-role-of-reconstruction-in-the-top-secret-exhibition-at-the-science-museum/)</sup>

## 皮里移交与遗产

1939年7月下旬，即德国入侵波兰五周前，波兰密码破译人员在华沙附近卡巴茨基森林的皮里无线电情报中心与英法同行会面。波兰人揭示了他们的成果，英法双方各获得一台恩尼格玛复制机以及关于波兰方法的信息，包括齐加尔斯基的穿孔板和炸弹机。<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup><sup> • </sup><sup>[7](https://aw.gov.pl/en/history/enigma-decryption/183%2CEnigma-decryption.html)</sup>英法代表团对波兰的先进程度感到震惊，盟国此前远未达到这一水平。<sup>[7](https://aw.gov.pl/en/history/enigma-decryption/183%2CEnigma-decryption.html)</sup>

在[布莱切利园](https://www.edgepedia.org/zh/bletchley-park)，艾伦·图灵受命寻找破译恩尼格玛的方法，因为德国操作程序的改变和额外转子的引入已使波兰炸弹机过时。他的攻击方法转而基于“已知明文片段”，即加密报文与猜测的明文片段之间的比对，并借助恩尼格玛中任何字母都不会加密为自身这一事实。图灵将这一方法机械化，戈登·韦尔奇曼的斜板则大幅减少了误停。<sup>[3](https://www.tnmoc.org/bombe)</sup>图灵将其机器命名为“炸弹机”（The Bombe），即得名于波兰的炸弹机。<sup>[2](https://csenigma.pl/en/enigma/machine-against-machine/)</sup>两台机器相关但工作原理不同：英国炸弹机在恩尼格玛报文中寻找规律，而波兰炸弹机在恩尼格玛指示符中寻找规律。<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup>

英国第一台炸弹机“胜利号”于1940年3月14日在布莱切利园开始破译工作，到战争结束时共有211台炸弹机在运行。<sup>[3](https://www.tnmoc.org/bombe)</sup>电气电子工程师学会（IEEE）将波兰团队1932至1939年间破译恩尼格玛（包括炸弹机）的成就认定为电气工程里程碑，称1938年在循环计之后制造的炸弹机是一台恩尼格玛密码分析机，也是英国密码破译工作的基础。<sup>[1](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)</sup><sup> • </sup><sup>[8](https://enigma.umww.pl/en/)</sup>

## References

1. [Milestones: First Breaking of Enigma Code by the Team of Polish Cipher Bureau, 1932-1939, IEEE Engineering and Technology History Wiki](https://ethw.org/Milestones%3AFirst_Breaking_of_Enigma_Code_by_the_Team_of_Polish_Cipher_Bureau%2C_1932-1939)
2. [Machine against machine, Enigma Cipher Centre, Poznań](https://csenigma.pl/en/enigma/machine-against-machine/)
3. [The Turing-Welchman Bombe, The National Museum of Computing](https://www.tnmoc.org/bombe)
4. [About, Enigma Museum](https://enigmamuseum.com/about/)
5. [Zygalski sheets: Polish codebreaking and the role of reconstruction in the Top Secret exhibition, Science Museum Group Journal](https://journal.sciencemuseum.ac.uk/article/zygalski-sheets-polish-codebreaking-and-the-role-of-reconstruction-in-the-top-secret-exhibition-at-the-science-museum/)
6. [A history of Enigma, enigma.design](https://enigma.design/history)
7. [Enigma decryption, Foreign Intelligence Agency of Poland](https://aw.gov.pl/en/history/enigma-decryption/183%2CEnigma-decryption.html)
8. [enigma.umww.pl](https://enigma.umww.pl/en/)

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

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Processors & processor engineering › Processors overview

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/bomba-cryptography

English original: https://www.edgepedia.org/bomba-cryptography
