Recently i have started to learn ruby because it's the core language for the rails framework. Here the cipher engine which uses the old caesar cipher algorithm, i have used file concepts to read and write the both encrypted and decrypted outputs to files. We can also use other methods separately, launch your irb then load 'encryptor.rb' make an instance of the Encryptor class by e = Encryptor.new to check all the available methods e.methods