XOR Encryption Function

Category:
String Manipulation
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
Uses the text to be encrypted and a code key to XOr 2 values together and come up with an encrypted string.

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

Declarations:

Code: