Skip to content

Enigma machine emulator in Fortran77 (fixed-format)

Notifications You must be signed in to change notification settings

barrettotte/Fortran77-Enigma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

enigma

From http://enigma.louisedade.co.uk/howitworks.html

Sources Used