Text File Encryption Utility

Category:
Files and Directories
Type:
Applications
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
Encrypt text files without XORing a password. Files are saved exactly as formatted. Works great for what I developed it for which is encrypting VB Scripts used by a VB Program using the MSScript control. I found that trying to encrypt fromatted VB Script files by XORing the password has a tendency to reveal the password when you have a lot of spaces. So this is my alternative. The mENCODE Constant is set at 3 but you can use a different value. With a little effort someone could modify this so that the encryption code saves the encoder value to the file and the decryption code would then use that value to decrypt the file.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download encryptiontextencryptor1.zip