RC4.this
this
(const(ubyte)[] key)Constructs an RC4 cipher with the given key.
The Key Scheduling Algorithm (KSA) initializes the internal permutation state based on the key.
Parameters
key | The secret key (5-256 bytes, i.e., 40-2048 bits). |
Throws
CryptoException if the key length is not in the valid range.