Skip to content

Golang program that simulates the operation of the Enigma encryption machine

Notifications You must be signed in to change notification settings

AntonioPedro9/enigma-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

History

The Enigma was an electromechanical cipher machine developed by the German engineer Arthur Scherbius at the end of World War I. It was used for encrypting confidential commercial and military messages by various countries. It became widely known for its use by the Germans during World War II, which inspired the movie The Imitation Game. The film depicts part of the life of the genius Alan Turing, who developed a machine capable of breaking Enigma's ciphers. It is estimated that this invention shortened the war by two years and saved about 14 million lives.

Running the Program

Override the message variable in the /cmd/main.go file with the message you want to encrypt, then open the project folder in the terminal and run the command:

$ go run ./cmd/main.go

References

  1. Demonstration video of the Enigma machine's operation.
    https://youtu.be/ybkkiGtJmkM

  2. Information on rotor and reflector mappings.
    https://piotte13.github.io/enigma-cipher

  3. Validation of program outputs.
    https://cryptii.com/pipes/enigma-machine

About

Golang program that simulates the operation of the Enigma encryption machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages