top of page

COURSE 1 - 3.2.1.2. Symmetric encr. of text (Terminal)

<   >

QUICK INFO:

  • Symmetric encryption: single key; must be sent to receiver.

  • command for symmetric encryption of text with result on Terminal window

    • echo "Text you want to encrypt" | gpg --symmetric --armor --cipher-algo AES256
  • command for symmetric encryption of text with result on file:

    • echo "Text you want to encrypt" | gpg --symmetric --armor --cipher-algo AES256 > filename.txt
  • command for decryption with result on Terminal window:

    • echo "Encrypted text" | gpg --decrypt
  • command for decryption with result on file:

    • echo "Encrypted text" | gpg --decrypt > filename.txt

How to encrypt a text with a simple password by using Kleopatra, a graphical user interface (gui) pre-installed in Tails:

bottom of page