TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How did the Enigma Machine work? (2021) [video]

47 点作者 vishnuharidas大约 3 年前

10 条评论

implements大约 3 年前
It’s worth implementing a basic Enigma in whatever language you’re happy with - it’s a tiny bit of code and you end up with a great sense of satisfaction in completely understanding how they work, wrinkles (1) and all.<p>(1) Lamps light on the key downstroke, rotors move on the upstroke. Rotors advance their neighbours from different positions, sometimes from two positions, etc.
rkagerer大约 3 年前
I had a chance to play on one many years ago.<p>Many are in museums behind glass, but a private collector brought one to a bunker museum I volunteered at, I asked if I could try it out and he obliged.<p>In Maryland at the NSA&#x27;s National Cryptologic Museum in Fort Meade visitors can try their hand at using one to encipher and decipher messages (per Wikipedia).
评论 #31181658 未加载
gregsadetsky大约 3 年前
Super interesting, thanks! This is also a good companion video -- <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=RzWB5jL5RX0" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=RzWB5jL5RX0</a> -- about the feasibility of cracking Enigma &quot;in 2021&quot; i.e. using computational power available to us today.<p>TLDW &amp; AFAIK: it&#x27;s crackable (just as it was back then, using a bag of approaches &amp; heuristics), but you still couldn&#x27;t plain brute force an encrypted message today if you didn&#x27;t have any portion of the plain text, the Enigma was using 10 plugboard pairs, etc.<p>Also see <a href="https:&#x2F;&#x2F;crypto.stackexchange.com&#x2F;a&#x2F;33631" rel="nofollow">https:&#x2F;&#x2F;crypto.stackexchange.com&#x2F;a&#x2F;33631</a>
评论 #31191127 未加载
legitster大约 3 年前
While the Enigma Machine is truly fascinating, we largely only know about it because it failed.<p>Meanwhile, the Allies had multiple encryption technologies fielded during the war that were far superior:<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;SIGABA" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;SIGABA</a><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;SIGSALY" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;SIGSALY</a><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;SIGTOT" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;SIGTOT</a><p>But that&#x27;s only part of the story - the allies were far more robust operationally. The Nazis were terrible at intelligence and counterintelligence (something to do with the subtlety required). And because they didn&#x27;t take spying or intelligence seriously, they never &quot;pentested&quot; their own processes very well. They were fairly happy enough to create the Enigma machine and use it everywhere.<p>Meanwhile, the allies were much more careful about what sort of encryption was used in each circumstance, and much more cautious about how much information (even encrypted) they made available for their enemy to intercept.<p>If you really want to get into the details of how and why the Enigma was a failure, I strongly recommend <i>Seizing the Enigma</i> by David Kahn. It does an excellent job of combining the technical details of the Enigma codebreaking with the overall story of naval intelligence.
评论 #31188932 未加载
Daniel_sk大约 3 年前
Very good explanation and the actual mechanism is way simpler than I thought.
xtiansimon大约 3 年前
Wait, if you press the key for ‘k’ and the three way switch moves from lightbulb contact to battery contact. As the video explains the letter is rewired from one letter to another letter, say ‘x’, and when the circuit returns to the three-way switchs it’s now directed to the letter ‘x’ which is not pressed and in the lightbulb contact position.<p>So what happens if ‘k’ randomly returns to itself and the switch is in the battery contact position and not the lightbulb position—no light?
评论 #31192889 未加载
评论 #31192934 未加载
vha3大约 3 年前
In case seeing it in software helps anyone else, here is some C which implements an Enigma machine: <a href="https:&#x2F;&#x2F;vanhunteradams.com&#x2F;Enigma&#x2F;Enigma.html" rel="nofollow">https:&#x2F;&#x2F;vanhunteradams.com&#x2F;Enigma&#x2F;Enigma.html</a>
DantesKite大约 3 年前
I just finished watching the Imitation Game and while it obviously took artistic license with the story, I never realized just how high the stakes were during WWII. Turing and his team were incredible.
评论 #31185411 未加载
missedthecue大约 3 年前
I always thought it was such an elegant design. Shame (or fortunate rather) that the Allies were able to break it so quickly.
评论 #31182601 未加载
评论 #31185383 未加载
评论 #31185084 未加载
netsharc大约 3 年前
Meta-commentary: Damn, that channel has lots of videos of the same genre and millions of views, I guess &quot;Create 3D graphical reconstructions of objects and explain how they work&quot; is a viable occupation...
评论 #31188566 未加载
评论 #31183664 未加载