Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boardfish/com3190-assignment
A simulation of the Enigma I machine in Erlang.
https://github.com/boardfish/com3190-assignment
enigma enigma-machine enigma-simulator erlang
Last synced: about 2 months ago
JSON representation
A simulation of the Enigma I machine in Erlang.
- Host: GitHub
- URL: https://github.com/boardfish/com3190-assignment
- Owner: boardfish
- License: apache-2.0
- Created: 2020-05-04T13:40:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-20T10:05:17.000Z (over 4 years ago)
- Last Synced: 2024-10-22T08:26:14.073Z (3 months ago)
- Topics: enigma, enigma-machine, enigma-simulator, erlang
- Language: Erlang
- Homepage:
- Size: 2.14 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Erl-nigma
=====A simulation of the Enigma I in Erlang.
Build
-----$ rebar3 escriptize
Run
---$ ./_build/default/bin/enigma "Text you want to encrypt here"
Command line arguments aren't implemented, so you'll want to change the arguments passed to the `main` method.
Supply:
- a reflector name (`"B"`)
- a triple of rotors (`"II", "I", "III"`)
- a triple of ring settings (`{26, 23, 4}` = Z, W, D Ringstellungen)
- a list of plugboard pairs (`[{$E, $Z}...]`)
- an initial setting (`{$A, $G, $I}`)