encode/decode any string using the Vigenère Cipher method.
gem install vigenere
require 'vigenere'
Vigenere.encode('AAA', 'CAESAR') #=> "CAESAR" Vigenere.encode('BIO', 'CAESAR') #=> "DISTIF"
Vigenere.decode('AAA', 'CAESAR') #=> "CAESAR" Vigenere.decode('BIO', 'DISTIF') #=> "CAESAR"
Roberto Decurnex