https://github.com/barrettotte/fortran77-enigma
Enigma machine emulator in Fortran77 (fixed-format)
https://github.com/barrettotte/fortran77-enigma
enigma enigma-cipher enigma-machine enigma-simulator fortran fortran-language fortran77
Last synced: about 1 month ago
JSON representation
Enigma machine emulator in Fortran77 (fixed-format)
- Host: GitHub
- URL: https://github.com/barrettotte/fortran77-enigma
- Owner: barrettotte
- Created: 2018-08-19T03:18:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-23T02:59:08.000Z (over 6 years ago)
- Last Synced: 2025-02-03T13:13:13.148Z (3 months ago)
- Topics: enigma, enigma-cipher, enigma-machine, enigma-simulator, fortran, fortran-language, fortran77
- Language: Fortran
- Homepage:
- Size: 42 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fortran77-Enigma
Enigma machine emulator in Fortran77. With this project I tried to abide by the rules of Fortran77 the
best that I could. Such as column number limit and variable naming up to 6 characters.## Notes
* Intrinsic Functions used: LEN, MOD
* Compiled on Ubuntu usinng gfortran compiler with default flags.
* Input is read from file named @INPUT
* Encryption is output to file named @OUTPUT
* The code doesn't look great, but Im not going to fix it. This is just a small weekend project.## Limitations
* User is expected to correctly populate plugboard (no duplicate keys).
* The max file size has not been tested, but its probably pretty small.## Diagram of Enigma Machine
From http://enigma.louisedade.co.uk/howitworks.html
## Sources Used
* Enigma emulator with mechanics explanation http://enigma.louisedade.co.uk/howitworks.html
* Details of enigma machine rotors https://en.wikipedia.org/wiki/Enigma_rotor_details
* Detailed information on engima machine https://en.wikipedia.org/wiki/Enigma_machine
* Oracle docs on Fortran77 https://docs.oracle.com/cd/E19957-01/805-4939/index.html
* Old Fortran77 book that was an amazing reference [amazon](https://www.amazon.com/Fortran-77-Numerical-Methods-Engineers/dp/0534925626/ref=sr_1_sc_3?)