Skip to content

Instantly share code, notes, and snippets.

@rietta
Created April 10, 2014 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rietta/10419347 to your computer and use it in GitHub Desktop.
Save rietta/10419347 to your computer and use it in GitHub Desktop.
Fake crytpo. It's just random data.
#!/usr/bin/env ruby
require 'securerandom'
puts "
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1
#{SecureRandom.hex(23423) }
-----END PGP MESSAGE-----
"
@rietta
Copy link
Author

rietta commented Apr 10, 2014

There may be characteristics of a GPG encrypted message - the formatting within the block - that are off. If someone can improve on this that would be great. It is more than I want to do for this gag at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment