Search Tools Links Login

RC4 Encryption Module


Visual Basic 6, or VB Classic

Encryption rate is 5 million bytes per second on a 400 MHz PII laptop - You will not find faster (VB) RC4 code here or elsewhere.
The code is extreamly fast, modular, and easily readable and modifiable.
A simple sample project that uses the module to encrypt files is included in the ZIP.

Original Author: unknown

Inputs

An array of bytes to be encrypted or decrypted, and a variable length passphrase string

Assumptions

The RC4 cipher is excellent for encrypting files. It is not well suited for string encryption if the ciphertext is to appear in a text box.

Returns

Ciphertext or Plaintext 100% compatible with the RC4 cipher

API Declarations

none
(GetOpenFileName and GetSaveFileName from Library "comdlg32.dll" is used in a demonstration of the module)

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 274 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD1182911192000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 9,992 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.