ibraimgm / enigma Goto Github PK
View Code? Open in Web Editor NEWA simple enigma machine in Go
License: MIT License
A simple enigma machine in Go
License: MIT License
There are items that are easy to modify so that a custom machine with four (4) rotors could be built. Currently the following do not support an M4 Enigma:
We know that in the default CLI app only 3 rotors can be used (I,II,III) but that one can "assemble" one with 5 rotors like the latest Enigma machine.
However, I noticed the following while using it:
And what about the Plugboard? in the machine it consisted of key pairs but that doesn't seem to be handled by command-line parameters.
Conver this project to use go modules. We also need to clan up the Makefile and remove the dependency on dep
.
I think there are a few things that don't quite add up, so could you please explain how to properly play with this Enigma implementation?
For example, here there is one of the code sheets used by the Germans, in particular OKH Maschinenschlüssel A #39.
(using Datum #20) As you can see, every day (1..31) the settings changed. There is the Walzenlage which is equivalent to your Rotor flag (-r V,II,III).
There is also the Ringstellung 07,18,04 which is the same as letters GRD. However, it is not clear what the Kenngruppen values are used for. Are any of those four triads the --window parameter? or are they something else?
BTW I modified your code so that I can specify the Plugboard setting which in your current version is always NoPlugboard and cannot be changed by the user. By using the plugboard settings from the code sheet, I cannot get it to validate well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.