added us-ascii encoding to encryption.rb