Revision: 3794
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 13, 2007 18:04 by lmcdougall
Initial Code
require 'tempfile' ENV['TEMP'] = Dir.pwd ENV['TMP'] = Dir.pwd tmpFil = Tempfile.new('enc') tFile = File.new(tmpFil.path, "w+") trap("INT") { exit 1 } 10000.times do tFile.puts rand(100000) end tFile.close sleep 3 cmdline = "gpg --recipient \"<[email protected]>\" --encrypt-file #{tmpFil.path}" exec cmdline
Initial URL
Initial Description
Initial Title
Generate tempfile
Initial Tags
ruby
Initial Language
Ruby