Classes: Encryptor
10 11 12 13
# File 'lib/encrubto/rotn.rb', line 10 def self.decrypt(encrypted, offset) rotn = Encrubto::RotN::Encryptor.new rotn.decrypt(encrypted, offset) end
5 6 7 8
# File 'lib/encrubto/rotn.rb', line 5 def self.encrypt(str, offset) rotn = Encrubto::RotN::Encryptor.new rotn.encrypt(str, offset) end