Monday, September 8th, 2008 12:00 AM
Usie this command to encrypt and decrypt a file using PGP in linux.
gpg -c file
gpg -o file -d file.gpg (output to file)
No Comments »
Thursday, September 4th, 2008 11:14 PM
Works on OS X, Linux, anywhere with OpenSSL installed:
To encrypt a file:
openssl des3 -salt -in infile.txt -out encryptedfile.txt
To decrypt the file:
openssl des3 -d -salt -in encryptedfile.txt -out normalfile.txt
No Comments »
Friday, March 21st, 2008 11:18 PM
Encrypt/Decrypt a file with GNU Privacy Guard - GPG.
#Encrypt
gpg -c file
#Decrypt
gpg file.gpg
1 Comment »