File.open('encrypt.txt', 'r') do |f1| n=0 while line = f1.gets text=line end text2=text.split(",") text3=Array.new while n