working encryptiion method, Sinatra displays encrypted string on page