Skip to content

EricR/caesar.rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A simple implementation of the Caesar cipher in 22 lines of Ruby.

puts Ceasar.encipher(72,"HELLO WORLD! THIS IS AN ENCRYPTED MESSAGE.") # => "BYFFI QILFX! NBCM CM UH YHWSJNYX GYMMUAY."
puts Ceasar.decipher(72,"BYFFI QILFX! NBCM CM UH YHWSJNYX GYMMUAY.") # => "HELLO WORLD! THIS IS AN ENCRYPTED MESSAGE."

To install:

gem install Caesar.rb

About

A simple implementation of the Caesar cipher in 22 lines of Ruby. Just for fun.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages