Home >Software Tutorial >Office Software >How does WinRAR encrypt compressed files?
Question: How to set a password for compressed files using WinRAR? Quick note: If you want to improve the security of your compressed files, password protection is a good way to do it. Guided reading: This article will introduce WinRAR’s 3 encryption methods in detail to help you protect important data. PHP editor Baicao will break down the steps of each method one by one, allowing you to easily master the encryption function of WinRAR.
Method 1: Set up single encryption
If you occasionally need to set a password for a compressed file, you can use the one-time encryption method.
First, select the file or folder that needs to be compressed, right-click the mouse, and select [Add to compressed file] in the WinRAR list;
After opening the [Compressed File Name and Parameters] dialog box, click [Set Password], and then the [Enter Password] dialog box will pop up. Enter the password you want to set in the password field, click [OK] and enter it again. , the file is compressed into a compressed file with a password.
As long as you open the compressed file later, although you can see the files inside, when you click to open the files inside, a dialog box will pop up, prompting that you need to enter a password to open the file.
Method 2: Set up automatic encryption
If you need to set a password every time you compress a file, you can set automatic encryption, so that the password will be automatically set as long as the file is compressed.
First, open the WinRAR decompression software, and then click [Settings] in the list under the menu tab [Options];
After opening the [Settings] dialog box, click [Create Default Configuration] on the [Compression] page;
After opening the [Set Default Compression Options] dialog box, click [Set Password] on the page. After the dialog box pops up, enter the password in the password field. This means that the password will be automatically added whenever the file is compressed. Remember to Remember;
After the input is completed, click [OK], and click [OK] in all dialog boxes that pop up later, and the setting is complete.
Method 3: Set “Organization Password”
If you need to add several fixed sets of passwords when compressing files, you can choose to set "Organization Password", so that every time you compress a file, you can directly select the password to be set without manually entering the password.
First, follow the operation path of "Method 2", after opening WinRAR, click [Options] - [Settings], [Compression] - [Create Default Configuration] - [Set Password];
After the [Enter Password] dialog box pops up, click [Organize Passwords];
In the [Organize Passwords] dialog box, click [Add]. After the [Password Information] dialog box pops up, enter the password you want to set in [Password Text], then click [OK], and click [Add] again. You can continue to add passwords. Just add as many sets of passwords as you need;
After the addition is completed, click [OK] and close all dialog boxes, and the setting is complete.
After setting, when using WinRAR to set a password for a compressed file, you can directly select the password to be set in the drop-down list of the password column without manually entering the password.
The above is the detailed content of How does WinRAR encrypt compressed files?. For more information, please follow other related articles on the PHP Chinese website!