Home » Support » Tutorials/Power Tips » UltraEdit » Encrypt and Decrypt Text Files
IDM Power Tips

Encrypt and Decrypt Text Files

Need to Protect Your Sensitive Data? UltraEdit's built-in encryption provides a quick and easy way to encrypt/decrypt your sensitive data - allowing you to keep your sensitive data secure. As of v14.00, you can encrypt and decrypt your files using a built-in advanced encryption method.

What's more, not only does UltraEdit encrypt your files, but it also integrates with UltraSentry to secure-delete the original file after encryption. Together, UltraEdit's built-in encryption and UltraSentry's secure delete, provide you with a complete end-to-end solution for protecting your sensitive data.

Encrypt and Decrypt Text Files


Step 1: Encrypt File

First you will need to browse to and open the desired file using the File : Open dialog. With the desired file as the active file in the editor go to the File Menu and select Encryption : Encrypt File

Encrypt and Decrypt Files

You will then be presented with the Encrypt File(s) dialog. You will see that the name/path of the active file is populated in the "File(s) to Encrypt" field.

Encrypt and Decrypt Files

Multiple Files
You can manually type additional files for encryption by separating the name/path of the additional files with a semi-colon. You can also select multiple files by clicking on the Browse button (next to the File(s) to Encrypt field). Simply click on the browse button and select multiple files using the CTRL key or SHIFT key and mouse. With the files selected, click on the Open button, and the file names/paths will be passed back to the Encrypt File(s) dialog.

For the purposes of this power tip, we will only encrypt a single file - test_file.txt.

Passphrase
With the Encrypted files specified in the Files to Encrypt field, type the Passphrase in both the Passphrase field and the Confirm Passphrase field.

Note: You MUST memorize or make note of the typed encryption passphrase. The passphrase is not stored anywhere on the system or in the application files. If this passphrase is forgotten/lost the encrypted data will be permanently unrecoverable.

Replace Encrypted File If Exists
When the file is encrypted, UltraEdit will create a new (separate) file with a .UENC extension. If the "Replace Encrypted File If Exists" is enabled, UltraEdit will replace the existing .UENC file with the new .UENC file.

Click OK to Encrypt the file.

You will be prompted to delete the original file when UltraEdit has finished encrypting the file. Select Yes or No based on your desired option. If you wish to secure-delete the original file see "Step 3: UltraSentry Integration".

Encrypt and Decrypt Files

The file has been encrypted, You should now see the Encrypt File(s) output:

Encrypt and Decrypt Files

If you browse, via Windows Explorer, to the location of the encrypted file you will see a file with the .UENC extension.

Step 2: Decrypt File

If you try to open the .UENC file with the File : Open dialog, UltraEdit will prompt as to whether or not you wish to decrypt the file. If you click "YES", UltraEdit will open the "Decrypt File(s)" dialog with the file name pre-populated in the File(s) to Decrypt field.

You can also navigate to the Decrypt File(s) dialog by going to File : Encryption : Decrypt File. You may type the file to decrypt or browse to the file by clicking on the browse button to the right of the "File(s) to Decrypt" field.

Encrypt and Decrypt Files

After selecting the file, type the Passphrase in both the Passphrase field and the Confirm Passphrase field. If the passphrase is correct, UltraEdit will unencrypt and open the file in the editor.

Encrypt and Decrypt Files

Step 3: UltraSentry Integration

As previously mentioned, you can optionally use UltraSentry to secure-delete the original version of the file - giving you a complete end-to-end solution for protecting your sensitive data. To use this feature, you must have UltraSentry installed. Click here to download UltraSentry if you do not already have it installed.

To enable the post encryption secure-delete, go to Advanced : Configuration : File Handling : Encryption. Enable the option for Secure delete original Files using UltraSentry.

Encrypt and Decrypt Files

Back to power tips index


Buy Now
Upgrade
Download

Get your solution today!

UE/UC

Add UltraCompare to your purchase/upgrade of UltraEdit and complete your file management solution.

Your bundle license runs on Windows, Mac, and Linux.

Working on a team?

UEStudio

Check out UEStudio - designed for those who collaborate!


"We won't mince words:
UltraEdit is outstanding..."

Application Screenshots

Feature maps

Road trip, anyone?

UE Mobile

Bundle UE Mobile with your UE upgrade and save 50%!


Take the UltraEdit tour