Questions tagged [enigma-machine]

Simulations of the Enigma machine, a kind of electro-mechanical device used from the 1920s to the 1940s for encrypting communications

Filter by
Sorted by
Tagged with
4
votes
1answer
226 views

The Enigma Machine (CLI) in Java

A few days ago I began to work on my first project that's bigger than any others that I've attempted before. The purpose of this was to learn how to better code using OOP techniques. The code is all ...
12
votes
5answers
5k views

C++ Enigma Machine

I'm trying to improve my C++ Enigma Machine, either by shortening the code or finding more efficient ways to complete certain things. Be aware I have very basic C++ vocabulary. Are there any major ...
5
votes
1answer
242 views

An enigma style simulation machine in Python 3

This code made a few breaks back in my spare time. There are, however, a few alterations to the original machine that this simulation shows, one being the alphabet, another being the amount of rotors. ...
7
votes
2answers
2k views

Enigma Machine Simulation in Python

Background and Example This code simulates the Enigma machine, minus the plugboard. Here's some test code that illustrates how the machine's construction and use: ...
10
votes
3answers
309 views

What an Enigma! (Machine Simulator)

I've made this some time ago for an assignment and I was wondering how it could be improved both in terms of performance and best practices for C code. ...
19
votes
3answers
924 views

Enigma machine simulator - improving recursive algorithm performance

I'm new to Haskell and am confused by why my code seems to preform so poorly, and wonder if there's something I've not grasped about the coding philosophy behind the language, or the best way to take ...
12
votes
6answers
14k views

Enigma Machine Simulation

This is an Enigma Machine Simulator written in Java: Enigma.java ...
3
votes
1answer
394 views

Structure and style of Enigma Machine

I took a little time and wrote the following code to produce enigma encryption. I don't normally write code in C so I would like to get feedback on the way it has been structured and any issues a ...
11
votes
3answers
15k views

Enigma simulator performance

Here is my implementation of a simple 3 rotor Enigma machine in C++: ...