How do I encrypt text in Linux?

How do I encrypt text in Linux?
Answer
Using gpg, you would do the following.
  1. Open a terminal window.
  2. Change to the ~/Documents directory with the command cd ~/Documents.
  3. Encrypt the file with the command gpg -c important. docx.
  4. Enter a unique password for the file and hit Enter.
  5. Verify the newly typed password by typing it again and hitting Enter.
 

Tìm kiếm

Back
Top