RC4.process
void process(const(ubyte)[] input, ubyte[] output)Processes input data by XORing it with the keystream.
This operation is symmetric: processing plaintext produces ciphertext, and processing ciphertext produces plaintext.
The Pseudo-Random Generation Algorithm (PRGA) generates keystream bytes that are XORed with the input.
Parameters
input | Input data to process. |
output | Output buffer (must be at least input.length bytes). |
Throws
CryptoException if the output buffer is too short.