A simple Ruby implementation of Casar's Cipher This is mainly intended for exercising Ruby, designed for students who's undertaking Ruby course.
require 'caesar_cipher'
# Encrypt
CaesarCipher.encrypt(string, shift_key: 3)
# Decrypt
CaesarCipher.decrypt(encrypted_string, shift_key: 3)
git clone http://github.com/ruby-journal/caesar_cipher.git
bundle exec rake test
see LICENSE