Coding the Enigma machine - Part 1

  Рет қаралды 19,306

Coding Cassowary

Coding Cassowary

Күн бұрын

In this project we will try to code the infamous Enigma machine. I will try to come as close as possible to the real thing but cannot guarantee that it will be exactly like it. In this first part of the video series will focus on representing the machine's different components in code.
Contents
00:00 Introduction
07:26 Keyboard
09:41 Plugboard
15:56 Rotors
21:20 Reflector
24:08 Enciphering a letter
Video links:
🎥 Part 2: • Coding the Enigma mach...
🎥 Part 3: • Coding the Enigma mach...
🎥 Part 4: • Coding the Enigma mach...
Useful links:
🔗 Wikipedia: en.wikipedia.org/wiki/Enigma_...
🔗 Michael Koss: mckoss.com/enigma-simulator-js/
Note:
This video includes music from: www.bensound.com/

Пікірлер: 20
@stevendebettencourt7651
@stevendebettencourt7651 7 ай бұрын
19:10 Just to give some info about Rotors VI, VII, and VIII: These rotors were used by the German Navy (the “Kriegsmarine” as it was called then) exclusively, due to the fact that Grand Admiral Karl Donitz was not as sure of Enigma’s security as most others in German military leadership were (he was right in this case). Rotors VI, VII, and VIII were introduced in the early 40s, alongside a non-rotating 4th rotor. While once you know what the changes are, it’s not that much harder to break (the second step point actually is LESS secure due to causing twice as many clear transitions and the non-rotating 4th rotor really just works to add complexity to the reflector and not much else), until you learn what the changes are, you’re gonna have big decryption issues. In addition, the German U-boat captains had standing orders to destroy their Enigma machines and throw the code books in the water if they were in danger of getting captured (the code books were typed in soluble ink so that the moment they hit the water, the codes were gone).
@MrThezyga
@MrThezyga Жыл бұрын
Thank you for the video, that's the simpliest explaination on how the enigma works I could find on the internet
@neilfurby555
@neilfurby555 Жыл бұрын
Nicely done, well paced and clear commentary. Thankyou
@peanutatomic
@peanutatomic 6 ай бұрын
"please don't invent the computer with the sole purpose of cracking me" lmao
@raccoongamingclan
@raccoongamingclan Жыл бұрын
Very well done!! I was searching for an explanation like this for python for some time now and you nailed it! Thanks a lot!
@bugrahankaya5137
@bugrahankaya5137 Жыл бұрын
Thanks for this video
@caroleian123
@caroleian123 17 күн бұрын
How do I get spaces between words???
@bsdooby
@bsdooby 3 ай бұрын
Nowhere is it explained why a rotor, in this chosen code design, has a regular alphabet (the one on the left), and the "gibberish" alphabet on the right. I see this in other coding enigma projects as well. Take rotor I with its internal wiring: A -> E, B -> K, C -> M, etc.; this relationship gets lost when using the two-alphabet approach w/ finding the same letters in the two alphabets. Can you elaborate on this design decision?
@AnonymouZS
@AnonymouZS Ай бұрын
i run into an issue while on the import part, when i run the code i get Type error: string indices must be integers? this code is the issue" letter = self.right[signal]
@proyectoalejandria6609
@proyectoalejandria6609 Жыл бұрын
I have a question: why at minute 12:13 we add a +1 to pos_A? Sorry, I'm kinda new at Python. Thanks for the tutorial!
@itz-electro
@itz-electro Жыл бұрын
i believe it may be a thing with how arrays work in programming, the first item in an array is listed under 0 and not 1
@robertbutler5602
@robertbutler5602 Жыл бұрын
Hi, awesome tutorial!!! I followed along until you started the visualisation. But before that I wanted to test the program, but I get an error 'TypeError: Rotor() takes no aruments. Did I miss something? THX in advance😆 May tour life be filled with joy, happiness and love. Take care.
@Io-ik4yv
@Io-ik4yv Жыл бұрын
wait am confused ,on the rotor part, does it call itself? cuz when i was trying, it said TypeError: Rotor() takes no arguments on 20:35. can someone explain please?
@dugannash9109
@dugannash9109 3 ай бұрын
old comment, but if anyone's running into this issue make sure you copied/followed the example constructor for the Rotor class shown in the video.
@AryanGupta-wm4ee
@AryanGupta-wm4ee Жыл бұрын
Which editor is this?
@yashrajtandan2285
@yashrajtandan2285 Жыл бұрын
Ms editor
@codingcassowary6391
@codingcassowary6391 Жыл бұрын
I used Atom for this project. Another editor that I can recommend is Sublime Text.
@AnonymouZS
@AnonymouZS Ай бұрын
never mind i made error in keyboard code🤦🏾‍♂
Coding the Enigma machine - Part 2
28:07
Coding Cassowary
Рет қаралды 7 М.
The Enigma Machine Explained
7:59
World Science Festival
Рет қаралды 964 М.
Sigma Girl Education #sigma #viral #comedy
00:16
CRAZY GREAPA
Рет қаралды 88 МЛН
Super sport🤯
00:15
Lexa_Merin
Рет қаралды 20 МЛН
🍟Best French Fries Homemade #cooking #shorts
00:42
BANKII
Рет қаралды 37 МЛН
How Enigma machine works | Part-2
11:02
Ingenious
Рет қаралды 7 М.
Pringles Can Enigma Machine
8:39
Videos By Kevin
Рет қаралды 118 М.
Making an Enigma machine
5:01
Andrew
Рет қаралды 55 М.
How Enigma was cracked
19:29
Ingenious
Рет қаралды 96 М.
Enigma code-breaking machine rebuilt at Cambridge
4:34
Department of Engineering, University of Cambridge
Рет қаралды 18 М.
Building an Enigma Machine
12:10
Code Bullet
Рет қаралды 4,2 МЛН
The Inner Workings of an Enigma Machine
14:04
Perimeter Institute for Theoretical Physics
Рет қаралды 399 М.