Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Vigenère Cipher ruby implementation
Ruby
Branch: master
Failed to load latest commit information.
lib Initial commit
README.textile Update README.textile
vigenere.gemspec Update 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)

Something went wrong with that request. Please try again.