Posts Tagged With: decrypt

Encrypt/Decrypt files using GPG

Tagged with: , , , , ,

Encrypt/Decript files in linux


#Encypt...
gpg -c <Source File>

#Decrypt...
gpg <Encrypted File>
No Comments »

Encrypt/Decrypt using PGP

Tagged with: , , , , ,

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 »

Encrypt/Decrypt File using OpenSSL in Linux

Tagged with: , , , , , ,

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 »

Encrypt/Decrypt using GPG

Tagged with: , , , ,

Encrypt/Decrypt a file with GNU Privacy Guard – GPG.


#Encrypt
gpg -c file

#Decrypt
gpg file.gpg
1 Comment »