~/talk

Breaking Enigma With the Power of Modern C++

Talkat CppCon 2022 · 2022-09-11..09-16· [rust]
slides:none on file

Shows a practical attempt to recover an M4 Enigma message (P10 3681) on a modern desktop, using C++20 and a 16-core CPU. Claims and measurements: compile-time rotor tables and a rotor wiring triplication trick eliminate modulo overhead, parallel algorithms (std::execution::par) scale the search, and a plugboard scoring heuristic plus staged search cuts an astronomical keyspace to minutes on one machine. Includes micro-benchmarks, exact rotor/ring/key results, and the full GitHub source for reproduction.

AI-written summary · about

  1. 0:00Introduction
  2. 1:42Mathieu Ropert
  3. 2:09What is this talk about
  4. 4:47How it works
  5. 13:04What does it do
  6. 13:32How hard is it
  7. 15:22Ring setting
  8. 16:08Plugboard
  9. 17:09More Keys
  10. 18:35Math
  11. 20:41Setup
  12. 21:24Typing
  13. 23:34Polish mathematician
  14. 25:09Bomba cryptologist
  15. 27:18British Bomba
  16. 28:50After the war
  17. 30:22History
  18. 32:21Enigma
  19. 33:36Cracking
  20. 35:48Simulation
  21. 37:11Router
  22. 37:36Email Wheel
  23. 38:05How to Implement
  24. 38:47The Problem
  25. 39:14The Cheat
  26. 39:41The Difference
  27. 41:37MultiFreading
  28. 42:29Hints
  29. 43:37Finetuning
  30. 44:19Results
  31. 44:55Brute Force
  32. 45:20Scramble
  33. 46:00Example
  34. 49:17Index of Coincidence
  35. 50:39C
  36. 52:23Range
  37. 54:45Question
  38. 55:33We cracked Enigma
  39. 56:18Poland in 1939
  40. 59:01France in 1940
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.