Skip to content

Instantly share code, notes, and snippets.

@DeastinY
Created September 21, 2018 11:32
Show Gist options
  • Save DeastinY/396472eb67e9890b6056ad121139ba9b to your computer and use it in GitHub Desktop.
Save DeastinY/396472eb67e9890b6056ad121139ba9b to your computer and use it in GitHub Desktop.
➜ ~ echo "test test" >> somefile.txt
➜ ~ gpg --symmetric somefile.txt
➜ ~ cat somefile.txt
test test
➜ ~ cat somefile.txt.gpg
���6,�f��I�� ؞�i���݇h��͡�~ �Nv�-�&��Z'�i�r57�"�˜vp�� ���\��jzuZT�8�_|➜ ~ rm somefile.txt
➜ ~ gpg -d somefile.txt.gpg
gpg: AES encrypted data
gpg: encrypted with 1 passphrase
test test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment