Skip to content

Instantly share code, notes, and snippets.

@fduran
Created February 20, 2012 18:16
Show Gist options
  • Save fduran/1870438 to your computer and use it in GitHub Desktop.
Save fduran/1870438 to your computer and use it in GitHub Desktop.
Linux encryption and decryption
# symmetric encryption and decryption
# www.fduran.com
# encryption:
gpg -c filename
# that creates filename.gpg, filename remains as original, optionally:
rm filename
# decryption:
gpg -d filename.gpg > filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment