User Tools

Site Tools


en:aux_support:gpg:symmetric

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:aux_support:gpg:symmetric [2018/11/01 13:21]
edoc2 [Encryption]
en:aux_support:gpg:symmetric [2018/11/01 13:22] (current)
edoc2 [Decryption]
Line 23: Line 23:
 ==== Encryption ===== ==== Encryption =====
  
-So we have **my_text.txt** file which we want to encrypt by using symmetric encryption.+So we have **my_text.txt** file which we want to encrypt by using symmetric encryption:
  
   $ gpg --symmetric my_text.txt   $ gpg --symmetric my_text.txt
      
-After pressing [ENTER], gpg will ask you to input the passphrase (twice).+After hitting [ENTER], gpg will ask you to input the passphrase (twice).
  
 If everything went well (no mistakes while entering the password), a new file with name **my_text.txt.gpg** will be created. If everything went well (no mistakes while entering the password), a new file with name **my_text.txt.gpg** will be created.
Line 45: Line 45:
   $ gpg -d my_text.txt.gpg > my_plain_text.txt   $ gpg -d my_text.txt.gpg > my_plain_text.txt
      
-After pressing [ENTER] gpg will prompt for the password (unless you do this operation on the same computer directly after creating the encrypted version in which case the password is still in gpg's cache so enquiry will be omitted).+After hitting [ENTER] gpg will prompt for the password (unless you do this operation on the same computer directly after creating the encrypted version in which case the password is still in gpg's cache so enquiry will be omitted).
  
 If the operation was successful we now have **my_plain_text.txt** file which can be opened normally with associated application. If the operation was successful we now have **my_plain_text.txt** file which can be opened normally with associated application.
en/aux_support/gpg/symmetric.1541078489.txt.gz · Last modified: 2018/11/01 13:21 by edoc2