Encryption/Decryption Alogorithm Based on ASCII Values

String Manipulation

Author: Ryan Conrad

Version Compatibility: Visual Basic 5

More information:
This is an encryption written method that takes the 'Key' and converts each character to its ASCII value and (depending on the last total) add/subtracts the current value to the total. It then takes the string to encrypt and converts each character in the string to its ASCII value and adds the final key total.(to return something like '402 432 399 421') It then takes those 3 digit numbers and breakes them down into 2 digit numbers and adds 100(so the will be vallid characters) and returns '140 124 132 139 194 121'. Then it converts those values to the ASCII character from the value.

If the receiving party does not know the 'Key' They WILL NOT be able to decrypt the string.

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