WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

RC4

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

RC4 Extender

 Keywords:  RC4 extender encrypt decrypt encryption.  

The RC4 extender is used to encrypt or decrypt a line of text using RC4 encryption.

[rc4.zip]

To load...

   
AddExtender(rc434i.dll)

Author:
   Alan Kreutzer

Version:
   January 2004
   FILEVERSION 3.00.00
   PRODUCTVERSION 3.00.00

The RC4 extender is used to encrypt or decrypt a line of text using RC4 encryption.

When RC4 scrambles a string the result may contain binary values.
These values cannot be saved in a WinBatch string variable.
To allow WinBatch to do encryption, the scrambled value is returned as a string
of hexadecimal numbers.
(Since each byte of a string requires two hexadecimal digits,
the output will be twice as long as the plain text.)
The decryption expects its input to be in this same hexadecimal notation.

Another option is to encrypt and decrypt in a binary buffer.
Since a binary buffer can contain any data there is no need to
"hexadecimalize" the encrypted text.
However, you can only manipulate the data in the buffer,
you cannot copy it to a string variable.


rc4encrypt (PlainText, Key)
rc4decrypt (EncryptedText, Key)
rc4binary  (Pointer, Key)

Article ID:   W16874
File Created: 2017:08:29:11:37:14
Last Updated: 2017:08:29:11:37:14