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.
Step 2: Proceed to click on the Gnupg folder to extract it on Ubuntu.
Step 3: Continue to click Install to install this software on Ubuntu. After installation is complete you can close it.
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
Type the password before confirming the installation, when typing the password will not show characters.
Step 5: If the system asks if you want to continue> please press Y then enter to continue the installation.
Step 6: After installation is complete to see the list of encryption methods, run the following command: gpg2 –version
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.
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
Step 8: When opened you type ciphe–algo AES256 then save it.
Step 9: Now we begin to encrypt Files and folders on Ubuntu, for example encrypted with files – / Documents / Taimienphi.vn / Taimienphi.vn.txt
>> Type the command gpg –symmetric –cipher-algo AES256 – / Documents / Taimienphi.vn / Taimienphi.vn.txt
Then enter the password twice to confirm the password for the encrypted file.
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
Step 11: Then enter the password to complete the process of encrypting Files and Folders on Ubuntu.
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.
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.
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.
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.