An Enigma machine in Ruby (rotors, reflectors, plugboard and all).
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
bin
lib
spec
.gitignore
.rspec testing Dec 30, 2014
.rubocop.yml
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
enigma.gemspec

README.md

Enigma

Enigma is a simple Ruby library created to explain Enigma machines works. It simulates the rotors, reflector and plugboard that compose Enigma machines and provides a simple CLI for experimenting.

Installation

git clone ...
cd enigma

Usage

bundle exec enigma
ENIGMA
CKASLQ

bundle exec enigma
CKASLQ
ENIGMA

Requirements

The library is tested with:

  • Ruby 2.5.2

Status

CircleCI CodeClimate (Maintainability) CodeClimate (Test Coverage)

Copyright

Copyright (c) 2014 - 2018 Kevin Sylvestre. See LICENSE for details.