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.
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
require 'enigma_ruby'
EnigmaRuby.encrypt('HELLO WORLD')
The gem is available as open source under the terms of the MIT License.