# GPG Cheatsheet ## Encryption via GPG * Encryption of a file via gpg ```sh gpg --symmetric --cipher-algo $PLAIN_TEXT ``` ### Armored Encryption via GPG * ASCII armored encryption output is done via ```sh gpg --armor --symmetric --cipher-algo $PLAIN_TEXT ``` ## Decryption via GPG * Decryption of a file via gpg ```sh gpg --output original_message.txt --decrypt $CIPHER ```