EnigmaRuby

Minitest

EnigmaRuby faithfully recreates the functionality of the historical Enigma machine in Ruby. This gem allows you to encrypt and decrypt messages using customizable rotors, reflectors, and plugboards, offering a hands-on experience with classic cryptographic techniques.

Installation

Add this line to your application's Gemfile:

gem 'enigma_ruby'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install enigma_ruby

Usage

require 'enigma_ruby'

EnigmaRuby.encrypt('HELLO WORLD')

References

License

The gem is available as open source under the terms of the MIT License.