0.0
No release in over a year
This gem allows you to simulate the encryption process of the Enigma machine.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 2.0
~> 5.0
~> 12.0
 Project Readme

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.