by aspenmayer · 1y ago · 0 comments
Even one-time pads are subject to the efforts used to counter Enigma, such as so-called gardening. I fully agree that layers are better than a single method like Enigma was many times in practice, which is usually all-or-none with no failsafe, at least until later in the war, when Enigma variants started being used in combination with coded messages and code words on top of the Enigma cipher machines themselves, but those efforts were foiled by the dedication and planning of the gardeners’ known-plaintext attacks.
https://en.wikipedia.org/wiki/Gardening_(cryptanalysis)
> In cryptanalysis, gardening is the act of encouraging a target to use known plaintext in an encrypted message, typically by performing some action the target is sure to report. It was a term used during World War II at the British Government Code and Cypher School at Bletchley Park, England, for schemes to entice the Germans to include particular words, which the British called "cribs", in their encrypted messages. This term presumably came from RAF minelaying missions, or "gardening" sorties. "Gardening" was standard RAF slang for sowing mines in rivers, ports and oceans from low heights, possibly because each sea area around the European coasts was given a code-name of flowers or vegetables.
> The technique is claimed to have been most effective against messages produced by the German Navy's Enigma machines. If the Germans had recently swept a particular area for mines, and analysts at Bletchley Park were in need of some cribs, they might (and apparently did on several occasions) request that the area be mined again. This would hopefully evoke encrypted messages from the local command mentioning Minen (German for mines), the location, and perhaps messages also from the headquarters with minesweeping ships to assign to that location, mentioning the same. It worked often enough to try several times.
With 1940s technology, generating a practical one time pad generator would have been an interesting engineering project. I would have simply used a newspaper. Even if your enemy knew you were using Die Zeitung, with the computer technology at the time it would have been tough to brute force which date and which article was used.
This fact proved by Friedman in 1918 has become widely known a few years later, in 1926, when Gilbert Sandford Vernam has published an article "Cipher Printing Telegraph Systems For Secret Wire and Radio Telegraphic Communications" in a journal.
While Vernam mentioned the help from Friedman, he gave no details and the works written by Friedman for the education of American cryptographers have remained classified for many decades.
Because of this, secure one-time pads have been referred frequently as the Vernam cipher, but this is wrong, as he is not its inventor, but only the first who has mentioned it in the non-classified literature.
Vernam (as a Bell Labs engineer) had a very important contribution to cryptography, but of a different kind. He has invented enciphering by modulo-2 sum (a.k.a. XOR), which is cheaper to implement in hardware than the integer addition used previously.
The first is that such keys will have all the statistical regularities of the German language, which I believe is problematic, even though I don’t know how one would go about exploiting it.
The second is the matter of how much encrypted text had to be transmitted every day, by the German military as a whole. If it significantly exceeded the daily output of Germany’s newspapers (and I would guess it did) there would seem to be considerable key reuse under this scheme.
For submarines and other units not receiving newspapers daily, there also seems to be a key-distribution issue. I don’t know if there is a better way to guarantee that communication can be maintained through a patrol than to depart with the equivalent of a stack of old newspapers. Is this a problem? I don’t know, but if the allies had figured out the broad outlines of the scheme, I imagine they might be able to do some preparation in anticipation of messages being intercepted.
In the book they used bingo style mechanical RNGs, by hand.
However, in the fullness of time and with research into and with declassification of wartime intelligence thereof since the war of the now-known semi-regular failures to key and operate the Enigma machine properly, the hypothetical serially encoded (Enigma + one-time pad) materials would possibly be able to be attacked due to operator errors/failures of key rotation independently of and/or combined with known-plaintext attacks, but I will defer to you on the actual cryptanalysis and mathematical modeling.
I humbly admit that am not well-versed in this field, and I am not anything other than a fan of you and your work in the computing field, as it is mostly over my head.
Another simple method would be to add an offset to the "rendevous at XX longitude and YY latitude" coordinates and time.
All of this is to say that I’m not sure that inconsistencies couldn’t be intentionally introduced in even the printed material to throw off encryption attempts if the source of the one-time pad were to have leaked. Knowing what is public knowledge regarding Crypto AG being compromised, I’m not willing to bet that a newspaper would be a safe bet for source material. A King James Version Bible, perhaps.
On the other hand, you have more fingers, and the long arm of the law casts an even longer shadow in wartime. Multi-armed bandits exist.