added us-ascii coding to encryption.rb