Electronic Enigma Pro
Electronic Enigma Pro
Introduction
158,962,555,217,826,360,000, no this is not a random the second rotor clicks round, and when that’s made it round
number neither it is Jeff Bezos’s bank balance. These are all the way, the third does the same, leading to more than
the total number of combinations that you would need to 17,000 different combinations before the encryption process
try to crack the code encrypted by enigma unless you are repeats itself. Adding to the scrambling was a plugboard,
Alan Turing. sitting between the main rotors and the input and output,
The Enigma machine is an encryption device developed which swapped pairs of letters. In the earliest machines, up
and used in the early- to mid-20th century to protect to six pairs could be swapped in that way; later models
commercial, diplomatic and military communication. It pushed it to 10, and added a fourth rotor.
was employed extensively by Nazi Germany during World
War II, in all branches of the German military.
Implementation Details
System Overview Firstly we are taking 5-bit binary numbers as inputs,
so they can represent a maximum of 32 combinations, and
A block diagram of the system is given in Fig. 1. we would use the 26 combinations of these to represent 26
alphabets. Similar to that of the original enigma machine,
in place of three rotors, we have used 3 logical units which
we have named as “matchers”. Each of these matchers
take an input of 5 bit and convert it to another binary
combination of 5 bit. The working is such that the input
number which corresponds to an alphabet(say A) is
converted to another number corresponding to another
alphabet(say G). This adds up to the first layer of
encryption.
We have implemented a counter which increases
with each alphabet we give as input. There are 3 such
counters, for each of the matchers which works similar to
Fig. 1: Caption of the block diagram. a clock, first counter is the fastest, 2nd one is intermediate
and last one the slowest. After 26 counts, 1st counter
A- Matcher resets and 2nd counter increases its value by one and this
B- AR Converter process is continued for further counters.
C- 5 bit memory The current setting of the matchers is stored in a 5 bit
D- Counter memory element and which is accessible by another unit
Enigma has an electromechanical rotor mechanism that called AR converters which take input from the adjacent
scrambles the 26 letters of the alphabet. If plain text is memory elements, the previous matcher and produce a 5
entered, the lit-up letters are the encoded ciphertext. bit output which is sent to the next matcher. This whole
Entering ciphertext transforms it back into readable layer is the 1st layer of encryption, upon adding multiple
plaintext. The rotor mechanism changes the electrical layers, we would achieve a complex encrypted output..
connections between the keys and the lights with each
keypress. Inside the box, the system is built around three
physical rotors. Each takes in a letter and outputs it as a Results
different one. That letter passes through all three rotors, We have achieved one to many encryption with the
bounces off a “reflector” at the end, and passes back help of this machine. One letter upon multiple
through all three rotors in the other direction. occurrences in the input would thus be transformed into
The board lights up to show the encrypted output, and the different letters. We are planning to add a plugboard
first of the three rotors clicks round one position – which would increase the combinations by around 150
changing the output even if the second letter input is the million.
same as the first one.
When the first rotor has turned through all 26 positions,
1
References
[1] https://youtu.be/G2_Q9FoD-oQ
[2] https://youtu.be/V4V2bpZlqx8
[3] https://youtu.be/4cf7dc_8u44
[4] https://youtu.be/bRT5YKez8m4