Encrypt a Single File on Linux with AES256 and GPG
This article was last edited over 3 years ago. Information here may no longer be accurate. Please proceed with caution, and feel free to contact me.
Encrypt
gpg \
--cipher-algo AES256 \
--symmetric \
--output encrypted.file \
plain.file
Decrypt
gpg \
--output plain.file \
--decrypt encrypted.file
Feel free to
contact me
with questions or feedback regarding this article.