function uses the key stream generator employed by the
arc4 cipher, which uses 8*8 8 bit S-Boxes.
can be in about
function returns pseudo-random numbers in the range of 0 to
and therefore has twice the range of
function reads data from
and uses it to permute the S-Boxes via
There is no need to call
automatically initializes itself.
The following produces a drop-in replacement for the traditional
has been designed by RSA Data Security, Inc.
It was posted anonymously
to the USENET and was confirmed to be equivalent by several sources who
had access to the original cipher.
used to be a trade secret, the cipher is now referred to as