Advertisement
fduran

Linux encryption and decryption

Apr 19th, 2011
431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.22 KB | None | 0 0
  1. # symmetric encryption and decryption
  2. # www.fduran.com
  3.  
  4. # encryption:
  5. gpg -c filename
  6.  
  7. # that creates filename.gpg, filename remains as original, optionally:
  8. rm filename
  9.  
  10. # decryption:
  11. gpg -d filename.gpg > filename
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement