Skip to main content

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
6 votes
2 answers
442 views

Enigma coding machine in Java

My child is giving a presentation on the topic of encryption. As a supportive dad, I found some interesting articles to help my kid with and that article about the Enigma encoding machine hit my ...
Martin Frank's user avatar
  • 3,001
4 votes
1 answer
249 views

Enigma Machine simulator configurable from file

Running this up the flagpole to "put it out there". The code has been compiled with an ancient C++ compiler for the niceties of declaring/defining variables as needed. With some minor ...
Fe2O3's user avatar
  • 2,330
4 votes
1 answer
585 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 ...
ViceroyFaust's user avatar
11 votes
5 answers
13k 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 ...
Generic's user avatar
  • 123
6 votes
1 answer
527 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. ...
Luke's user avatar
  • 501
7 votes
2 answers
6k 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: ...
rookie's user avatar
  • 1,233
10 votes
3 answers
402 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. ...
Paulo Martins's user avatar
19 votes
3 answers
1k 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 ...
orome's user avatar
  • 401
12 votes
6 answers
18k views

Enigma Machine Simulation

This is an Enigma Machine Simulator written in Java: Enigma.java ...
user avatar
4 votes
1 answer
566 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 ...
clutton's user avatar
  • 819
13 votes
3 answers
17k views

Enigma simulator performance

Here is my implementation of a simple 3 rotor Enigma machine in C++: ...
StuR's user avatar
  • 245