Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Cryptsetup to encrypt USB disk

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)05/31 Report--

Today, I will talk to you about how to use Cryptsetup to encrypt the USB flash drive. Many people may not know much about it. In order to let you know more, Xiaobian summarized the following contents for you. I hope you can gain something according to this article.

Nowadays, the storage and data transmission capacity of USB flash drive is very strong, which can run across various platforms. The storage space even reaches 256G, which is comparable to the capacity of ordinary hard disk in the past. Here, we will show you how to encrypt the USB flash drive, mom no longer have to worry about me following in the footsteps of teacher Chen…

The importance of protecting USB drives

Laptops and USB drives stolen are one of the main causes of data breaches over the past few years. However, people usually pay less attention to the safety of USB flash drives than laptops. But if a criminal steals a USB drive worth only $12, it may cost a company millions of dollars or so.

As USB drives increase in storage capacity and decrease in price, you can easily store all your personal data on a portable and compact USB drive. Although it is now inseparable from the U disk, there are some shortcomings in the U disk that we need to face up to. For example, USB drives are very easy to steal and lose.

Encrypted USB flash drive storage device

Enterprise data needs to be valued not just by relying on access passwords, but by protecting data through encryption devices. Here's how to create an encrypted USB drive in Ubuntu:

First, you need to install cryptsetup under Linux:

sudo apt-get install -y cryptsetup

After installation, insert the USB flash drive you want to encrypt into the computer. Remember to back up the data in the USB flash drive before, because the encryption process requires a grid disk.

When you have backed up the data on the USB drive, open Disk Utility in Dash.

Now, select your USB drive from the list on the left and click the Stop or Uninstall button below the highlighted area.

Next, click on the gear icon that appears in the row, select "Format," and you'll see a pop-up window.

You can choose between fast or slow formatting options (slower is safer) and select Encrypt and be Linux compatible (LUKS +Ext4).

Finally, you need to enter a name for the USB drive, set a password, and *** start formatting.

Depending on the formatting speed option selected, you will need to wait a different amount of time. Once you're done, unplug your USB drive and plug it in again, and you'll see the following prompt:

Congratulations, you have successfully encrypted your USB drive.

Encrypting a USB drive under Ubuntu is as simple as that. Every time you connect a USB drive to Linux, it will ask you to provide a password to unlock it, and you can use it as usual. Even if you lose the USB drive, the data inside is still safe, hackers can not access the contents without relevant authentication.

After reading the above, do you have any further understanding of how to use Cryptsetup to encrypt USB drives? If you still want to know more knowledge or related content, please pay attention to the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report