Skip to content

omosola/vigenere-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Ruby Implementation of Vigenere Cipher

http://en.wikipedia.org/wiki/Vigen%C3%A8re_cipher

Usage:

vigenere = Vigenere.new "LEMON"

plaintext = "TESTSTRING"

ciphertext = vigenere.encrypt plaintext

decrypted_text = vigenere.decrypt ciphertext

Note:

Current version built to handle only A-Z characters. Could be easily fixed to handle other types of characters, but traditional Vigenere ciphers used A-Z characters primarily.

About

Ruby implementation of the Vigenere Cipher

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages