Instructions on how to encrypt Files and folders on Ubuntu

Instructions on how to encrypt Files and folders on Ubuntu


Ubuntu has many advanced security features that users may not know. For example, LibreOffice users can encrypt Files and folders on Ubuntu extremely simple but extremely secure. So what is that feature and how to use it on Ubuntu for files and folders?


If you use familiar Ubuntu then you will see on Ubuntu there are a lot of great things than Windows 7, 10 many times. Of course we do not mention games because there is no operating system suitable for playing games better than Windows. Yet the way Encrypt Files and Folders on Ubuntu On the other hand, on Ubuntu there are many security methods to help you protect your privacy to the maximum.

Encrypt Files and folders on Ubuntu

How to encrypt Files and folders on Ubuntu

Step 1: To encrypt Files and folders on Ubuntu we first need to install Gnupg on Ubuntu already, download Gnupg here.

How to code files and folders on Ubuntu 2

Step 2: Proceed to click on the Gnupg folder to extract it on Ubuntu.

how to code files and folders on ubuntu 3

Step 3: Continue to click Install to install this software on Ubuntu. After installation is complete you can close it.

how to code files and folders on ubuntu 4

Step 4: In case Gnupg cannot be installed, press the key combination Ctrl + ALT + T To open the Terminal window, here type: sudo apt install gnupg2

how to code files and folders on ubuntu 5

Type the password before confirming the installation, when typing the password will not show characters.

how to code files and folders on ubuntu 6

Step 5: If the system asks if you want to continue> please press Y then enter to continue the installation.

how to code files and folders on ubuntu 7

Step 6: After installation is complete to see the list of encryption methods, run the following command: gpg2 –version

how to code files and folders on ubuntu 8

The term AES in this list is AES128. You can choose another encryption algorithm as the default one by adding a line to configure the file that GnuPG uses at runtime. The configuration file, called gpg.conf, is located in a hidden folder called .gnupg in the Home directory.

how to code files and folders on ubuntu 9

Step 7: The next step now is to edit the configuration file in gedit, run the following command in the Terminal window: gedit – / .gnupg / gpg.conf

how to code files and folders on ubuntu 10

Step 8: When opened you type ciphealgo AES256 then save it.

how to code files and folders on ubuntu 11

Step 9: Now we begin to encrypt Files and folders on Ubuntu, for example encrypted with files – / Documents / Taimienphi.vn / Taimienphi.vn.txt

how to code files and folders on ubuntu 12

>> Type the command gpg –symmetric –cipher-algo AES256 – / Documents / Taimienphi.vn / Taimienphi.vn.txt

how to code files and folders on ubuntu 13

Then enter the password twice to confirm the password for the encrypted file.

how to code files and folders on ubuntu 14

Step 10: After encrypting Files and folders on Ubuntu we can add the password for that encrypted file with the command gpg –symmetric – / Documents / Taimienphi.vn / Taimienphi.vn.txt

How to code files and folders on Ubuntu 15

Step 11: Then enter the password to complete the process of encrypting Files and Folders on Ubuntu.

how to code files and folders on ubuntu 16

Go inside the encrypted directory now and you will see that another file appears with the * gpg extension, which means that the encryption of Files and folders on Ubuntu is complete.

how to code files and folders on ubuntu 17

Step 12: To rename the encrypted file you type gpg -o command Taimienphivn.enc –symmetric – / Documents / Taimienphi.vn / Taimienphi.vn.txt

Where> Taimienphivn.enc is the new file name.

>> Taimienphi.vn.txt is the original file name.

how to code files and folders on ubuntu 18

Above is all the information that users need to know when studying about encoding Files and folders on Ubuntu. With instructions for encrypting Files and folders on Ubuntu, we were able to encrypt the files ourselves. And there are many other tips we want to share with you about Ubuntu but Taimienphi.vn would like to see you in the next article on Taimienphi.vn.

https://thuthuat.taimienphi.vn/huong-dan-cach-ma-hoa-files-va-thu-muc-tren-ubuntu-32349n.aspx
With the above tip, we have learned more a way to encrypt data in Ubuntu. Indeed the Data encrypt not as simple as Windows but in terms of security features, it is not inferior. One thing to note is that readers must check the version of Ubuntu is in use because not all versions support it. To not have to Check the Ubuntu version Another way is to always update it to the latest version.

.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *