Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [enigma]

The Enigma Machine was a piece of cryptographic hardware used by the German military during World War II; successful cryptanalysis was routinely applied against it and the scheme was considered broken. Questions relating to this machine should use this tag and you may also which to use the historic tag.

Filter by
Sorted by
Tagged with
1 vote
1 answer
34 views

Enigma machine Rejewski cataluge and ring settings

I'm trying to simulate Rejewski cyclometer and developed a code that run over all ~100k posibilities and generates for each setting an id that looks like that: 1313_111212_11221010 I run my code with ...
user116068's user avatar
1 vote
0 answers
35 views

Fitness of Text Function, did I spot an error?

I am playing around with Enigma Encryption, and especially solving it piece-wise, like in https://www.youtube.com/watch?v=RzWB5jL5RX0 shown. The idea is, that the text gets clearer, if you get more ...
Ralf's user avatar
  • 181
-1 votes
4 answers
229 views

Enigma encryption

I know how an Enigma works and that the reflector means a current flow must return by a different route but my question is this. After returning from the reflector and through the rotors, it passes ...
Macolm's user avatar
  • 1
0 votes
0 answers
113 views

Enigma - Bombe - Understanding the relative values of ring settings to key settings

For a project, I am writing Enigma and Bombe simulators in Python. I have coded up both and so far so good. My Enigma simulator gives the same results as the online simulator here: https://people....
Andy Robinson's user avatar
3 votes
2 answers
276 views

Why isn't my Enigma simulator working?

I am attempting a to simulate an 'Enigma M3' machine. As I understand it, the M3 is internally wired as: Name ABCDEFGHIJKLMNOPQRSTUVWXYZ Notch I EKMFLGDQVZNTOWYHXUSPAIBRCJ Y II ...
RQDQ's user avatar
  • 131
3 votes
0 answers
110 views

Effective key length in Enigma encryption

Each Enigma machine setting induces a certain encryption in the sense of a function from the space of plain texts to the set of cipher texts. The number of different Enigma machine settings can be ...
maya's user avatar
  • 139
1 vote
1 answer
124 views

Enigma Questions: Eliminating the can't encode to itself flaw? Maybe not a flaw

I am currently writing a paper in my old age for the fun of it. I feel that the enigma machine had gotten a bad wrap for some of its flaws. I decided to write a machine simulation to see if I can ...
DJ in Colorado's user avatar
5 votes
1 answer
348 views

How to recover ring settings for the slow and the middle rotors on Enigma Checking Machine?

Summary: The operation of the Enigma Bombe is well documented. I manage to use it and a candidate checking machine to recover the plugboard pairs and the ring setting for the fast rotor. I struggle to ...
Chan Tai Man's user avatar
3 votes
0 answers
129 views

Enigma rotor settings and the notch

According to https://www.reddit.com/r/cryptography/comments/v0sw2r/enigma_ring_settings_question/ While the rotor is in the machine, the ring+notch+rotor all rotate in sync. While the rotor is pulled ...
pengu1n's user avatar
  • 131
6 votes
1 answer
273 views

A modern rotor machine, could it be any safe?

I wonder if a rotor machine similar to enigma can be considered secure by today's standards under four conditions: A rotor machine which consists of 50 rotors picked out of a set of 100. A rotor ...
Princeofmillerovo's user avatar
1 vote
1 answer
227 views

How do the notch and window positions on an Enigma machine correlate?

I am having difficulty visualizing the stepping process. The permutation of Wheel I of Enigma I is as follows: ...
doctorjay's user avatar
1 vote
0 answers
234 views

Determining the initial positions of Engima's rotors

We want to perform a known plaintext attack on the enigma M3, the goal is to reach the initial settings of the 3 rotors. I tried to bruteforce those values since I know the plaintext, ciphertext, ...
Khalil's user avatar
  • 11
1 vote
1 answer
254 views

Why did the germans encrypted twice a random three alphabet word in enigma?

I have read that the Germans used to encipher a random three alphabet word chosen by the operator twice and put that before the enciphered message. What purpose did that have and what key they were ...
Sumit Gupta's user avatar
1 vote
2 answers
256 views

Problem with implementation of Enigma Machine

I'm having trouble making an implementation of Enigma Machine in VBA. My question is about implementing the rotors and their move. To be more precise, I will show below the way that I code my Enigma ...
ZlatanAtm's user avatar
0 votes
1 answer
146 views

Question about Enigma's rotors turnover

I've been trying to make an algorithm work like the real Enigma machine, fully customizable. I use two online emulators to check that my encoded message is correct : https://cryptii.com/pipes/enigma-...
Damien's user avatar
  • 1
33 votes
8 answers
12k views

Have any cryptographic breaks been executed in the real world since World War II?

Have there been any publicly known exploits of a cryptographic break in a widely used cryptographic system to actually read encrypted information (or falsely authenticate) since the Ultra program in ...
Very Tiny Brain's user avatar
5 votes
2 answers
191 views

Does machine cryptography only consist of rotor machines?

For the chronological categorisation of cryptography, I have proceeded as follows: Cryptography by hand (e.g. Caesar, Vigenére, etc., till around 1900/1920) Cryptography using machines (e.g. Enigma, ...
Titanlord's user avatar
  • 2,309
3 votes
2 answers
220 views

Enigma machine rotor internal wiring question

I have a question regarding the internal wiring of the rotors of the Enigma machine. I'm trying to understand some details about the original Enigma machine. To the best of my understanding, each ...
toni995's user avatar
  • 31
6 votes
2 answers
450 views

What were Alan Turing and their team searching before doing KPA in the movie "The imitation game"?

I just watched the movie "The imitation game" (2014) which is based on Alan Turing's biography. At some point in the movie the machine built by Turing wasn't fast enough to decrypt the ...
melfnt's user avatar
  • 163
2 votes
2 answers
347 views

Is a long Enigma message vulnerable to the index of coincidence?

Let's say we have a ciphertext of length 1000. We try to decipher it with an Enigma machine with random rotors and initial positions but no plugboard (so only $5 * 4 * 3 * 26^3 \approx 2^{20}$ ...
Katoptriss's user avatar
3 votes
1 answer
600 views

Enigma machine Encryption steps

I am trying to build a simulated enigma machine.I am basing it off of this one https://www.101computing.net/enigma-machine-emulator/ I have setup the 3 rotors and I am having trouble understanding the ...
eetar1's user avatar
  • 31
0 votes
1 answer
273 views

Is my Enigma inspired cipher any good?

I am working is a project that would implement a cipher that would output ciphertext that would be easy to transmit through morse code, just like they did in the days of Enigma. Use of AES or the ...
Petri Suominen's user avatar
1 vote
1 answer
159 views

Enigma Machine rotors math

I have been doing a study about the enigma machine for the past weeks. I managed to get ahold of the formulae used in "Cryptography, Information theory and error-correction" book for the ...
Marizard's user avatar
2 votes
0 answers
319 views

Why are there only 10 plugboard pairs in the enigma?

The plugboard provides a new layer of security for the enigma but why can we only swap at most 10 letters? I only found things like "10 was the most common." but why stop there? Isn't adding ...
Zara's user avatar
  • 121
2 votes
1 answer
950 views

Enigma ring settings - is the relative location of the turnover all that matters?

I understand that the ring setting of an Enigma rotor changes the alignment between the internal wiring and the letters on the ring. For example, in the diagram below, rotor I has ring setting 2 (B), ...
Evan's user avatar
  • 121
0 votes
0 answers
28 views

Looking for books and non-paywalled websites about Enigma "rapid analytic machinery"

I am by now perfectly aware that "Bletchley Park had much more available to them than 'Bombes,'" but I'm finding it difficult to find on-line explanations of their many other types of "...
Mike Robinson's user avatar
1 vote
2 answers
800 views

Enigma - How many possibilities does the plugboard have?

I try to relate my own calculation with the real result being about 150.738.274.937.250. The plugboard has 26 letters, and you have 10 wires to connect pairs of letters. My idea was to calculate first ...
killertoge's user avatar
2 votes
1 answer
509 views

Explanation of Enigma rotor movement

I found this explanation of Enigma rotor movement on this website, but can't quite understand the methodology: Enigma rotation example A ⤑ B → D ⤑ C (rotor III in position B) C ⤑ C → D ⤑ D (rotor II ...
KevP's user avatar
  • 71
7 votes
1 answer
592 views

Why does the Bombe not consider the Ringstellung when determining stecker pairs?

I am doing research on the Bombe Machine, and I read that when the Bombe tries to find the stecker (plugboard) partners of letters, it only needs to use the rotor types and arrangement and also the "...
Queso Pez's user avatar
  • 301
4 votes
1 answer
103 views

Why are the indicator drums of a Bombe machine labelled from A to Z clockwise?

I am researching the Bombe Machine, having just completed a project on the Enigma Machine. I visited The Rutherford Journal - The Turing Bombe, and it claimed that The scales on the three ...
Queso Pez's user avatar
  • 301
3 votes
1 answer
1k views

What was the key length of the Enigma? [closed]

When I type in any plaintext to an Enigma machine (Enigma machine emulator) the substitution does not seem to follow any pattern. In other words, there is no cycle in the use of enciphering alphabets (...
Kristian Francisco Milla Niels's user avatar
1 vote
1 answer
187 views

Secure enigma machine?

The enigma machine had a serious flaw: the letters could not be encrypted as themselves. Is there an online enigma simulator I can try that does not have this flaw, which would likely make it secure?
Flashbomb's user avatar
2 votes
0 answers
72 views

How does a ring affect an inverse rotor?

Rotor I with ring A would look like this: ABCDEFGHIJKLMNOPQRSTUVWXYZ ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ EKMFLGDQVZNTOWYHXUSPAIBRCJ Inverse rotor I with ring A would look ...
haierophanto's user avatar
2 votes
1 answer
1k views

What's different between ground setting and ring set in the Enigma machine?

I am writing a python program for the Enigma machine. I know what the ground setting (Grundstellung) is but I don't know the difference between ground setting and ring setting. What's different ...
Ramtin Moradi's user avatar
0 votes
0 answers
189 views

What is the best way to attack enigma without any a priori knowledge about the plaintext?

I know in great (great great great) detail about how they cracked enigma during the second world war. Looking into it, I decided to have a crack at breaking it. I've come apon a single problem with my ...
Legorooj's user avatar
  • 474
2 votes
3 answers
326 views

How much would removing enigmas biggest flaw improve it?

Enigma's biggest flaw was that a letter could never be encrypted as itself. How much would enigma's security increase if it were possible that a letter could be encrypted as itself? I know that would ...
Legorooj's user avatar
  • 474
2 votes
3 answers
204 views

Was Enigma really that hard to crack, given that you had access to hundreds of messages per network per day?

Well, I guess that I have always been a little bit suspicious ... so to speak ... of the "official stories" about the difficulty of recovering Enigma message texts during WW2, because it seems to me ...
Mike Robinson's user avatar
3 votes
1 answer
174 views

Theory Question with Enigma

I have been reading a bit about how the Enigma machine was cracked in WW2. There was also this wonderful post which highlighted a lot of useful information. Let's assume I know everything about how ...
big jump's user avatar
0 votes
1 answer
46 views

Question about Enigmas involutional property and its reduction of possible ciphers

I'm currently learning cryptography at a university. I can't wrap my mind around how the involutional property of Engima reduces its possible ciphers while being poly-alphabetic. Can someone please ...
Tim's user avatar
  • 3
3 votes
1 answer
144 views

Enigma message decode errors, and protocols to prevent them

I was looking at some Enigma messages for some random reasons, and I wondered if there were ever issue pulling the correct words out the strings of characters of if there was a protocol for it. For ...
b degnan's user avatar
  • 4,830
3 votes
1 answer
1k views

How can the Enigma's plugboard settings be found with partially known plaintext?

I don't quite understand the procedure described on wikipedia, is there a generalized procedure you can follow to rule out a pairing on the plugboard? For example, let's say the cipher text is ...
b3nj4m1n's user avatar
  • 247
5 votes
2 answers
2k views

Was the Enigma's double stepping mechanism intentional?

It's sometimes refered to as the double stepping anomaly, so was it just a design flaw or was it put in place deliberately?
b3nj4m1n's user avatar
  • 247
1 vote
1 answer
1k views

Enigma rotation example

According to wikipedia: BDZGO is the expected outcome when doing the enigma chipher on the letters AAAAA with rotors I,II,III and reflector B. ...
b3nj4m1n's user avatar
  • 247
19 votes
4 answers
3k views

Are encryption algorithms with fixed-point free permutations inherently flawed?

Flaw in Enigma One of the Enigma machine's flaw was the derangement (fixed-point free permutation) of the produced ciphertext, or simply put: No plaintext-letter can be enciphered to itself. See this ...
AleksanderCH's user avatar
  • 6,462
2 votes
3 answers
423 views

Enigma: a Question from WW2

I have seen in the Imitation Game that the Germans reset the Enigma at midnight sharp, and then they start messaging by sending the weather report in the morning. But the device made by Alan Turing, ...
Lakshya Sinha's user avatar
3 votes
0 answers
203 views

Fastest / easiest way to find rotor wiring without physical inspection on Enigma Machine emulator

We have an Enigma machine emulator we are trying to replicate. Machine has 3 rotor positions and 6 rotors that can be selected. The input goes through 3 rotors then is reflected back to start as is ...
Calum Nicoll's user avatar
0 votes
1 answer
156 views

How to decrypt / break enigma-encrypted ciphertext with given configuraton?

I'm new here--seriously I don't know anything, but my close friend sending me a code and I must solve it. The code uses Rotor III, V, VIII; starting point ABC; reflector BB; and pair OA LU. Can ...
kanaya001's user avatar
0 votes
1 answer
96 views

Enigma: Theorie Rotors [closed]

I wanted to programm the enigma (using C#). But it seems like i dont understand how the rotors work. Becouse if we take the first three rotors: ekmflgdqvzntowyhxuspaibrcj ajdksiruxblhwtmcqgznpyfvoe ...
Stefan xyz's user avatar
3 votes
3 answers
509 views

Rotor machines: secrecy of the wiring

During the heyday of rotor machines, the internal rotor wiring was always a closely guarded secret. Even fully cleared repair staff was not allowed to do anything that could reveal it. As the wiring ...
Greg's user avatar
  • 31
6 votes
2 answers
2k views

When does the first rotor in Enigma machine rotate?

I read a ton of articles about the Enigma machine. And the one thing that I can't get is when the first rotor stars rotating. Some articles says the rotor rotates after the first letter of message ...
Igor234's user avatar
  • 61