Pure Ruby implementation of the general encryption algorithm ARC4.
Since this algorithm is implemented in pure Ruby, it is not very fast. Therefore the FastARC4 class based on OpenSSL should be used when possible.
For reference: This implementation is about 250 times slower than the FastARC4 version.
See: PDF1.7 s7.6.2
The initial state which is then modified by the key-scheduling algorithm
Public Class Methods
Public Instance Methods
Processes the given data.
Since this is a symmetric algorithm, the same method can be used for encryption and decryption.