RC4 Encryption in VB

Category:
String Manipulation
Type:
Snippets
Difficulty:
Intermediate
Author:
Andreas J‚ÄĚnsson

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
RC4 is a stream cipher designed by Rivest for RSA Security. Here is a RC4-encryption function for VB. Just copy and paste into your project. Enjoy!

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

Declarations:

Code: