rc4 Function
Function: |
Encrypts/decrypts the data stream according to the RC4 algorithm. |
Syntax: |
rc4(byref key as string, skip as word, byref data as string) as string |
Returns: |
Processed data. |
See Also: |
Part |
Description |
key |
Encryption key, can have any length. |
skip |
The number of "skip" iterations. These are additional iterations added past the standard "key scheduling algorithm". Set this argument to 0 to obtain standard encryption results compatible with other systems. |
data |
Data to encrypt/decrypt. |
Details
With the RC4 algorithm, the same function is used both for encrypting and decrypting the data.