module Encrubto::RotN
Public Class Methods
decrypt(encrypted, offset)
click to toggle source
# File lib/encrubto/rotn.rb, line 10 def self.decrypt(encrypted, offset) rotn = Encrubto::RotN::Encryptor.new rotn.decrypt(encrypted, offset) end
encrypt(str, offset)
click to toggle source
# File lib/encrubto/rotn.rb, line 5 def self.encrypt(str, offset) rotn = Encrubto::RotN::Encryptor.new rotn.encrypt(str, offset) end