<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>encrypt Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/encrypt/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 25 Dec 2019 21:02:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to encrypt USB drives in Windows 10</title>
		<link>https://www.osradar.com/how-to-encrypt-usb-drives-in-windows-10/</link>
					<comments>https://www.osradar.com/how-to-encrypt-usb-drives-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Wed, 25 Dec 2019 21:02:52 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[BitLocker]]></category>
		<category><![CDATA[encryp tool windows]]></category>
		<category><![CDATA[encrypt]]></category>
		<category><![CDATA[encrypt usb]]></category>
		<category><![CDATA[encryption tool]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17054</guid>

					<description><![CDATA[<p>Hey, what&#8217;s up? Despite the advance of cloud storage, USB storage devices are still widely used. In fact, it&#8217;s a quick and easy way to carry information. As they are widely used, it is normal for users to be concerned about the protection of the data on them. Similarly, these devices are connected to various [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-encrypt-usb-drives-in-windows-10/">How to encrypt USB drives in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hey, what&#8217;s up? Despite the advance of cloud storage, USB storage devices are still widely used. In fact, it&#8217;s a quick and easy way to carry information. As they are widely used, it is normal for users to be concerned about the protection of the data on them. Similarly, these devices are connected to various computers, public and private. It is in these cases that data can be lost or corrupted. This often causes serious problems. On the other hand, it is not enough to assign a password to the device, it is also ideal to encrypt the information. Consequently, Windows 10 provides a tool to protect internal and external drives. This tool is <a href="https://docs.microsoft.com/en-us/windows/security/information-protection/bitlocker/bitlocker-device-encryption-overview-windows-10" target="_blank" rel="noreferrer noopener" aria-label="BitLocker (opens in a new tab)">BitLocker</a>. And in this post, we will see how to use it to encrypt USB drives in Windows 10. </p>



<h2>Some features of BitLocker.</h2>



<p>BitLocker has an option that allows blocking the system startup process. Consequently, the system will load only when the user enters a pin or a device with the password. Here are some of its most important features:</p>



<ul><li>BitLocker supports 128- and 256-bit XTS-AES keys</li><li>Encrypt and recover devices with Azure Active Directory</li><li>A new Group Policy designed to configure Windows pre-boot recovery has been added</li><li>It is possible to enable the Credential Guard function without UEFI blocking</li><li>Improved Credentials Manager Support</li><li>XTS-AES encryption algorithm This is special against those of direct attacks to the encryption. These attacks are based on manipulating encrypted text to edit system changes</li></ul>



<h2>Process for encrypting the external storage drive.</h2>



<p> In the first place, right-click on the USB drive and select <em>Turn on BitLocker.</em></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="726" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/bit.jpg" alt="Turn on BitLocker." class="wp-image-17055" srcset="https://www.osradar.com/wp-content/uploads/2019/12/bit.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/bit-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/bit-768x545.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/bit-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/bit-696x493.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/bit-592x420.jpg 592w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Turn on BitLocker.</figcaption></figure>



<p>Forthwith, it will start the configuration wizard. It will ask for the type of unlocking: Password and smart card. In this case, we will use a password. With this intention, add the password along with its validation.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="632" height="485" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/bit3.jpg" alt="Choose a password as a method of unlocking." class="wp-image-17095" srcset="https://www.osradar.com/wp-content/uploads/2019/12/bit3.jpg 632w, https://www.osradar.com/wp-content/uploads/2019/12/bit3-300x230.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/bit3-80x60.jpg 80w, https://www.osradar.com/wp-content/uploads/2019/12/bit3-547x420.jpg 547w" sizes="(max-width: 632px) 100vw, 632px" /><figcaption>Choose a password as a method of unlocking.</figcaption></figure>



<p>Next, you can choose where to backup the recovery key. The options are: Save to Microsoft account, save to file and print the recovery key. For this purpose, save the key to a file.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="632" height="485" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/bit4.jpg" alt="Save the recovery key to a file." class="wp-image-17097" srcset="https://www.osradar.com/wp-content/uploads/2019/12/bit4.jpg 632w, https://www.osradar.com/wp-content/uploads/2019/12/bit4-300x230.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/bit4-80x60.jpg 80w, https://www.osradar.com/wp-content/uploads/2019/12/bit4-547x420.jpg 547w" sizes="(max-width: 632px) 100vw, 632px" /><figcaption>Save the recovery key to a file.</figcaption></figure>



<p>It then stores the key in a secure directory. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="632" height="484" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/bit5.jpg" alt="Saves the recovery key in a trusted directory" class="wp-image-17099" srcset="https://www.osradar.com/wp-content/uploads/2019/12/bit5.jpg 632w, https://www.osradar.com/wp-content/uploads/2019/12/bit5-300x230.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/bit5-80x60.jpg 80w, https://www.osradar.com/wp-content/uploads/2019/12/bit5-548x420.jpg 548w" sizes="(max-width: 632px) 100vw, 632px" /><figcaption>Saves the recovery key in a trusted directory</figcaption></figure>



<p>Subsequently, two encryption options are offered. New encryption with improved security but not compatible with older versions of Windows. And compatible encryption. Depending on the use that will be given to the USB device then make the selection.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="632" height="485" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/bit6.jpg" alt="Select the type of encryption." class="wp-image-17101" srcset="https://www.osradar.com/wp-content/uploads/2019/12/bit6.jpg 632w, https://www.osradar.com/wp-content/uploads/2019/12/bit6-300x230.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/bit6-80x60.jpg 80w, https://www.osradar.com/wp-content/uploads/2019/12/bit6-547x420.jpg 547w" sizes="(max-width: 632px) 100vw, 632px" /><figcaption>Select the type of encryption.</figcaption></figure>



<p>After the previous preparations have been made, the wizard will start the encryption of the device.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="354" height="254" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/bit8.jpg" alt="" class="wp-image-17103" srcset="https://www.osradar.com/wp-content/uploads/2019/12/bit8.jpg 354w, https://www.osradar.com/wp-content/uploads/2019/12/bit8-300x215.jpg 300w" sizes="(max-width: 354px) 100vw, 354px" /><figcaption>Initiating unit encryption.</figcaption></figure>



<p>After completing the encryption process, click on Close to exit the wizard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="354" height="168" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/bit9.jpg" alt="Encryption completed" class="wp-image-17108" srcset="https://www.osradar.com/wp-content/uploads/2019/12/bit9.jpg 354w, https://www.osradar.com/wp-content/uploads/2019/12/bit9-300x142.jpg 300w" sizes="(max-width: 354px) 100vw, 354px" /><figcaption>Encryption completed</figcaption></figure>



<p>Then open the file browser and on the removable drive, you will see a lock icon indicating that the drive is encrypted. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/bit10-1.jpg" alt="File browser showing the encrypted drive" class="wp-image-17110" srcset="https://www.osradar.com/wp-content/uploads/2019/12/bit10-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/bit10-1-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/bit10-1-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/bit10-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/bit10-1-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/bit10-1-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>File browser showing the encrypted drive</figcaption></figure>



<h2>Reverse the encryption process</h2>



<p>After encrypting the unit, it is necessary to enter the password to gain access. If at any point you no longer need BitLocker, you can disable it. With this in mind, right-click on the drive and select <strong>Manage BitLocker</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="726" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/bit11.jpg" alt="Enter in Manage BitLocker" class="wp-image-17112" srcset="https://www.osradar.com/wp-content/uploads/2019/12/bit11.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/bit11-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/bit11-768x545.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/bit11-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/bit11-696x493.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/bit11-592x420.jpg 592w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Enter in Manage BitLocker</figcaption></figure>



<p>In the next window, click on <strong>Turn Off BitLocker</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/bit12.jpg" alt="Turn Off BitLocker" class="wp-image-17114" srcset="https://www.osradar.com/wp-content/uploads/2019/12/bit12.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/bit12-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/bit12-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/bit12-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/bit12-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/bit12-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Turn Off BitLocker</figcaption></figure>



<p>A warning message will be displayed. Please confirm the Turn off BitLocker to begin the process.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="350" height="166" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/bit13.jpg" alt="Start the decryption process" class="wp-image-17116" srcset="https://www.osradar.com/wp-content/uploads/2019/12/bit13.jpg 350w, https://www.osradar.com/wp-content/uploads/2019/12/bit13-300x142.jpg 300w" sizes="(max-width: 350px) 100vw, 350px" /><figcaption>Start the decryption process</figcaption></figure>



<p>Immediately the assistant will start the process. When finished, press Close to exit.</p>



<figure class="wp-block-gallery columns-2 is-cropped"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img loading="lazy" width="352" height="254" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/bit14.jpg" alt="" data-id="17117" data-full-url="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/bit14.jpg" data-link="https://www.osradar.com/?attachment_id=17117" class="wp-image-17117" srcset="https://www.osradar.com/wp-content/uploads/2019/12/bit14.jpg 352w, https://www.osradar.com/wp-content/uploads/2019/12/bit14-300x216.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/bit14-324x235.jpg 324w" sizes="(max-width: 352px) 100vw, 352px" /></figure></li><li class="blocks-gallery-item"><figure><img loading="lazy" width="352" height="169" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/bit15.jpg" alt="" data-id="17118" data-full-url="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/bit15.jpg" data-link="https://www.osradar.com/?attachment_id=17118" class="wp-image-17118" srcset="https://www.osradar.com/wp-content/uploads/2019/12/bit15.jpg 352w, https://www.osradar.com/wp-content/uploads/2019/12/bit15-300x144.jpg 300w" sizes="(max-width: 352px) 100vw, 352px" /></figure></li></ul><figcaption class="blocks-gallery-caption">Disabling BitLocker on the drive.</figcaption></figure>



<p>Now when you enter the file browser, the removable drive is displayed without a lock icon. Consequently, it can be accessed without any problem</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/bit16.jpg" alt="Non-encrypted USB drive" class="wp-image-17119" srcset="https://www.osradar.com/wp-content/uploads/2019/12/bit16.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/bit16-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/bit16-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/bit16-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/bit16-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/bit16-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Non-encrypted USB drive</figcaption></figure>



<p>Finally, we&#8217;ve seen how to encrypt USB drives in Windows 10. With this simple method, you can add a password and encrypt the USB drive using BitLocker. This increases the security of our USB devices and protects the most sensitive information. Well, this is it! Before I say goodbye, I invite you to review our post about scheduling the <a rel="noreferrer noopener" aria-label="automatic shutdown (opens in a new tab)" href="https://www.osradar.com/how-to-schedule-the-automatic-shutdown-in-windows-10/" target="_blank">automatic shutdown</a> in Windows 10</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-encrypt-usb-drives-in-windows-10/">How to encrypt USB drives in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-encrypt-usb-drives-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Encrypt Home Folder in Linux</title>
		<link>https://www.osradar.com/how-to-encrypt-home-folder-in-linux/</link>
					<comments>https://www.osradar.com/how-to-encrypt-home-folder-in-linux/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Sat, 28 Apr 2018 16:44:46 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[encrypt]]></category>
		<category><![CDATA[encrypt home]]></category>
		<category><![CDATA[how to encrypt home]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=2804</guid>

					<description><![CDATA[<p>If you’re on Linux, you already have the idea of the security level of this awesome operating system. This has set up all the systems in such a manner that until you give the permission, there&#8217;s hardly any malware to run into your system. However, despite the security, your data isn’t completely secured. Those who [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-encrypt-home-folder-in-linux/">How to Encrypt Home Folder in Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you’re on Linux, you already have the idea of the security level of this awesome operating system. This has set up all the systems in such a manner that until you give the permission, there&#8217;s hardly any malware to run into your system. However, despite the security, your data isn’t completely secured. Those who have physical access to your system can easily extract your sensitive data.</p>
<p>For solving this issue, you can set up encryption for your “home” folder. This way, no one can extract sensitive information out of your system and even if they do so, it’ll be nothing more than garbage &amp; unreadable data. Let’s get started with encrypting your “home” folder on your Linux distro.</p>
<p>Note that I’m using Linux Mint. But the system procedure is the same for all the other Linux distros. We’ll be using a tool named “EcryptFS”.</p>
<h2>Downloading &amp; Installing the tool</h2>
<p>According to your Linux distro, install the tool first.</p>
<ul>
<li>
<h3>Ubuntu + Ubuntu-based</h3>
</li>
</ul>
<p>If you’re running Ubuntu or Ubuntu-based distro, run this command:</p>
<pre>sudo apt install ecryptfs-utils</pre>
<p><img loading="lazy" class="size-full wp-image-2805 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/04/install-ecryptfs-utils.png" alt="" width="974" height="421" srcset="https://www.osradar.com/wp-content/uploads/2018/04/install-ecryptfs-utils.png 974w, https://www.osradar.com/wp-content/uploads/2018/04/install-ecryptfs-utils-300x130.png 300w, https://www.osradar.com/wp-content/uploads/2018/04/install-ecryptfs-utils-768x332.png 768w, https://www.osradar.com/wp-content/uploads/2018/04/install-ecryptfs-utils-696x301.png 696w, https://www.osradar.com/wp-content/uploads/2018/04/install-ecryptfs-utils-972x420.png 972w" sizes="(max-width: 974px) 100vw, 974px" /></p>
<ul>
<li>
<h3>Debian</h3>
</li>
</ul>
<p>Run this command:</p>
<pre>sudo apt-get install ecryptfs-utils</pre>
<ul>
<li>
<h3>Fedora</h3>
</li>
</ul>
<p>For Fedora users, this is the required command line:</p>
<pre>sudo dnf install ecryptfs-utils</pre>
<ul>
<li>
<h3>OpenSUSE</h3>
</li>
</ul>
<pre>sudo zypper install ecryptfs-utils</pre>
<ul>
<li>
<h3>Arch Linux</h3>
</li>
</ul>
<pre>sudo pacman -S ecryptfs-utils</pre>
<p>If your Linux distro or distro-base isn’t listed here, then you have to build it from source. You can also check out the <a href="http://ecryptfs.org/downloads.html">official EcryptFS download page</a>. For any issue with the building, you may need to take help from <a href="http://ecryptfs.org/documentation.html">EcrypFS documentation</a>.</p>
<h2>Encrypting the “home” folder</h2>
<p>During the encryption process, we have to make a temporary user for performing the encryption tasks. After completing the process, we’ll delete it. This second user is needed as you can’t directly encrypt your “home” folder while logged into the account.</p>
<ul>
<li>Add a user account with the name &#8220;encrypt-admin&#8221;.</li>
</ul>
<p><img loading="lazy" class="size-full wp-image-2810 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/04/create-temporary-user-1.png" alt="" width="703" height="578" srcset="https://www.osradar.com/wp-content/uploads/2018/04/create-temporary-user-1.png 703w, https://www.osradar.com/wp-content/uploads/2018/04/create-temporary-user-1-300x247.png 300w, https://www.osradar.com/wp-content/uploads/2018/04/create-temporary-user-1-696x572.png 696w, https://www.osradar.com/wp-content/uploads/2018/04/create-temporary-user-1-511x420.png 511w" sizes="(max-width: 703px) 100vw, 703px" /></p>
<ul>
<li>Now, it’s time to start encrypting. Run this command:</li>
</ul>
<pre>sudo ecryptfs-migrate-home –u &lt;username&gt;</pre>
<ul>
<li>Note that if you want to encrypt multiple accounts, you have to run this process multiple times.</li>
</ul>
<p>Now, exit the temporary account and login to your main account.</p>
<h2>Adding encryption password</h2>
<p>After logging in to your original account, run this command:</p>
<pre>ecryptfs-add-passphrase</pre>
<p>This will give you the option of entering a password for the encrypted “home” folder.</p>
<p>For fully enjoying the feature, restart your Linux system.</p>
<p>Recently, Ubuntu has released their latest edition – v18.04 LTS. Check out every new feature of Ubuntu 18.04 LTS.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-encrypt-home-folder-in-linux/">How to Encrypt Home Folder in Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-encrypt-home-folder-in-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Encrypt Files On Linux</title>
		<link>https://www.osradar.com/how-to-encrypt-files-on-linux/</link>
					<comments>https://www.osradar.com/how-to-encrypt-files-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Mon, 19 Mar 2018 14:23:01 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[encrypt]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[gpg2]]></category>
		<category><![CDATA[linux encrypt]]></category>
		<category><![CDATA[mcrypt]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=2201</guid>

					<description><![CDATA[<p>Encryption is a method that makes a data unreadable to others and ensures that only the person meant to read the data reads it. It’s very powerful and useful method that’s used everywhere on the internet. In other words, security is now encryption. If you’re on Linux, you have the upper hand if you want [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-encrypt-files-on-linux/">How To Encrypt Files On Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Encryption is a method that makes a data unreadable to others and ensures that only the person meant to read the data reads it. It’s very powerful and useful method that’s used everywhere on the internet. In other words, security is now encryption. If you’re on Linux, you have the upper hand if you want to encrypt your files and keep them safe.</p>
<p>In this age of cyber warfare, no data is safe. For staying secured, I recommend encrypting the important and sensitive documents so that others can’t read them. Here’re a few methods that you can use to encrypt your files on any Linux system.</p>
<ul>
<li>
<h4>GPG (GnuPG)</h4>
</li>
</ul>
<p>It’s one of the best and easiest tools to use for encrypting and decrypting your files. It’s a CLI-based tool, but don’t fear; the commands are really simple to understand.</p>
<ul>
<li>Open a terminal by pressing CTRL + Alt + T.</li>
<li>Go to the file’s directory that you want to encrypt. For example, I’m using “test_doc.txt” file on my desktop. So, I have to run this command:</li>
</ul>
<pre class="lang:default decode:true">cd ~/Desktop</pre>
<ul>
<li>Now, encrypt the file using the following command:</li>
</ul>
<pre class="lang:default decode:true">gpg2 -c test_doc.txt</pre>
<p><img loading="lazy" class="size-full wp-image-2202 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-1.png" alt="" width="1064" height="660" srcset="https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-1.png 1064w, https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-1-300x186.png 300w, https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-1-768x476.png 768w, https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-1-1024x635.png 1024w, https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-1-356x220.png 356w, https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-1-696x432.png 696w, https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-1-677x420.png 677w" sizes="(max-width: 1064px) 100vw, 1064px" /></p>
<p><img loading="lazy" class="size-full wp-image-2203 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-2.png" alt="" width="491" height="459" srcset="https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-2.png 491w, https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-2-300x280.png 300w, https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-2-449x420.png 449w" sizes="(max-width: 491px) 100vw, 491px" /></p>
<p>Note that there are two versions of GPG (gpg and gpg2). Gpg2 is recommended as it’s better and improved. You’ll be asked to provide a password</p>
<p>If you want to decrypt the file, use the following command:</p>
<pre class="lang:default decode:true ">gpg2 test_doc.txt.gpg</pre>
<p><img loading="lazy" class="size-full wp-image-2204 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-3.png" alt="" width="1056" height="409" srcset="https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-3.png 1056w, https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-3-300x116.png 300w, https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-3-768x297.png 768w, https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-3-1024x397.png 1024w, https://www.osradar.com/wp-content/uploads/2018/03/gpg2-file-encryption-3-696x270.png 696w" sizes="(max-width: 1056px) 100vw, 1056px" /></p>
<p>Voila! Your file is encrypted using your own password. Feel free to delete the original file, as it will not be needed anymore. The file is already inside the .GPG archive.</p>
<ul>
<li>
<h4>mCrypt</h4>
</li>
</ul>
<p>This is another CLI-based tool for Linux. It doesn’t come by default with Linux distros, so you have to install it on your own. Depending on your Linux distro, install mCrypt using the following method:</p>
<pre class="lang:default decode:true">sudo apt install mcrypt                      [Ubuntu + Ubuntu-based distros]
sudo apt-get install mcrypt                  [Debian]
sudo dnf install mcrypt                      [Fedora]
sudo zypper install mcrypt                   [OpenSUSE]</pre>
<p>Now, the working method. It’s really simple and fun. It also supports multiple files at the same time.</p>
<ul>
<li>Go to the directory where your file is. Here, I’m using the same file, the same directory as before (“test_doc.txt” on Desktop).</li>
<li>Run this command:</li>
</ul>
<pre class="lang:default decode:true">mcrypt text_doc.txt</pre>
<p><img loading="lazy" class="size-full wp-image-2205 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/03/mcrypt-1.png" alt="" width="1056" height="376" srcset="https://www.osradar.com/wp-content/uploads/2018/03/mcrypt-1.png 1056w, https://www.osradar.com/wp-content/uploads/2018/03/mcrypt-1-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2018/03/mcrypt-1-768x273.png 768w, https://www.osradar.com/wp-content/uploads/2018/03/mcrypt-1-1024x365.png 1024w, https://www.osradar.com/wp-content/uploads/2018/03/mcrypt-1-696x248.png 696w" sizes="(max-width: 1056px) 100vw, 1056px" /></p>
<p><img loading="lazy" class="size-full wp-image-2206 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/03/mcrypt-2.png" alt="" width="338" height="332" srcset="https://www.osradar.com/wp-content/uploads/2018/03/mcrypt-2.png 338w, https://www.osradar.com/wp-content/uploads/2018/03/mcrypt-2-300x295.png 300w" sizes="(max-width: 338px) 100vw, 338px" /></p>
<p>If you want to add multiple files, follow this structure:</p>
<pre class="lang:default decode:true">mcrypt file1 file2 file3</pre>
<p>It’s time to decrypt the files.</p>
<ul>
<li>Go to the directory where the encrypted files are.</li>
<li>Run the following command:</li>
</ul>
<pre class="lang:default decode:true ">mcrypt -d test_doc.txt.nc</pre>
<p><img loading="lazy" class="size-full wp-image-2207 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/03/mcrypt-3.png" alt="" width="1055" height="299" srcset="https://www.osradar.com/wp-content/uploads/2018/03/mcrypt-3.png 1055w, https://www.osradar.com/wp-content/uploads/2018/03/mcrypt-3-300x85.png 300w, https://www.osradar.com/wp-content/uploads/2018/03/mcrypt-3-768x218.png 768w, https://www.osradar.com/wp-content/uploads/2018/03/mcrypt-3-1024x290.png 1024w, https://www.osradar.com/wp-content/uploads/2018/03/mcrypt-3-696x197.png 696w" sizes="(max-width: 1055px) 100vw, 1055px" /></p>
<p>If you’re decrypting multiple .NC files, use this structure:</p>
<pre class="lang:default decode:true">mcrypt -d file1.nc file2.nc file3.nc</pre>
<p>Your files are back!</p>
<ul>
<li>
<h4>File Manager</h4>
</li>
</ul>
<p>Every file manager that comes with every Linux distro contains a good &amp; functioning app. Using the file manager, you can create a password-protected ZIP file that contains all the files.</p>
<ul>
<li>Select the files you want to encrypt.</li>
<li>Right-click and select “Compress” (or equivalent option).</li>
<li>Enter a password for the ZIP file.</li>
</ul>
<p><img loading="lazy" class="size-full wp-image-2208 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/03/file-manager-encrypt.png" alt="" width="711" height="397" srcset="https://www.osradar.com/wp-content/uploads/2018/03/file-manager-encrypt.png 711w, https://www.osradar.com/wp-content/uploads/2018/03/file-manager-encrypt-300x168.png 300w, https://www.osradar.com/wp-content/uploads/2018/03/file-manager-encrypt-696x389.png 696w" sizes="(max-width: 711px) 100vw, 711px" /></p>
<ul>
<li>Click “Create” (or equivalent).</li>
</ul>
<p>Note that depending on your distro, the options and figure will vary, but the basic will be the same.</p>
<h3>Caution</h3>
<p>Make sure that you don’t forget the password! Never, ever! If you forget the password, there’s no way of recovering it (in your lifetime).</p>
<p>So, have some fun with your privacy! But Firefox seriously messed up privacy with their poor system design. Learn about the <a href="https://www.osradar.com/firefox-users-master-password-at-risk/">Firefox “Master Password” flaw that puts lots of users at stake</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-encrypt-files-on-linux/">How To Encrypt Files On Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-encrypt-files-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
