Ruby Caesar Cipher
A simple project made in Ruby to encode and decode strings using the Caesar Cipher method.
Installation
You can install the gem via RubyGems:
gem install ruby-caesar
Usage
To use the gem, simply require it in your Ruby script and call the encode or decode methods:
require 'ruby-caesar'
Caesar.encode('A', 'CAESAR') #=> "CAESAR"
Caesar.encode('R', 'CAESAR') #=> "TRVJRI"
Caesar.decode('A', 'CAESAR') #=> "CAESAR"
Caesar.decode('R', 'TRVJRI') #=> "CAESAR"
Author
Haroldo Furtado
License
This project is licensed under the MIT License. See the LICENSE file for details.