Vigenère Cipher ruby implementation
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
LICENSE.txt
README.textile
vigenere.gemspec

README.textile

Vigenère Cipher

encode/decode any string using the Vigenère Cipher method.

Instalation

gem install vigenere

Usage

require 'vigenere'

Vigenere.encode('AAA', 'CAESAR') #=> "CAESAR"
Vigenere.encode('BIO', 'CAESAR') #=> "DISTIF"

Vigenere.decode('AAA', 'CAESAR') #=> "CAESAR"
Vigenere.decode('BIO', 'DISTIF') #=> "CAESAR"

Authors

Roberto Decurnex (decurnex.roberto@gmail.com)