Encrypt and Decrypt Text For Passwords or Other Apps

Category:
Forms and Controls
Type:
Applications
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
These functions take a given string and encrypt or un-encrypt them using the Chr and Asc functions plus a little basic math. For a demo, just add 2 text box controls and two command button controls.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: