Skip to content

mirkoperillo/enigma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is only a fun project to improve my golang knowledge.

Enigma is a emulator of the enigma M3 machine, becamed famous during the II world war and used by nazist army to crypt their communications

Build

go build

Quickstart

enigma [options] "the message"

Usage of ./enigma:
  -positions value
    	positions of rotors. Default A,A,A
  -reflector string
    	reflector rotor to use. Available values: B,C. Default B (default "B")
  -rotors value
    	comma separated list of rotors. Available values: I,II,III,IV,V. Default I,II,III
  -steckerboard value
    	comma separated list of pairs. Optional flag
  -verbose
    	more verbose output

An example:

./enigma -rotors=IV,I,III -positions=B,C,Q -steckerboard=A,Z,B,T -verbose "ciao github"

NOTE: Following the historical usage practises, only letters are supported and the spaces are replaced with X letter

Resources

Some others emulators in the web:

License

This project is release under CC0 license (Creative Commons Zero)

About

an enigma machine emulator developed in go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages