Encrypt a file using gpg

To encrypt a file using gpg command, run gpg -o myfile.tar.gpg –symmetric myfile.tar Now it will ask for a password. Once you enter password 2 times, file will be encrypted. Decrypt To decrypt a file, run gpg myfile.tar.gpg It will ask for the password, once you enter password, get file decrypted. Example This encryption process … Read more