A symmetric key stream processor 60 that encrypts and decrypts text in
accordance
with the RC4 algorithm has a main processing block 62 and a host interface
64. The main processing block 62 includes an Sbox memory 78
implemented with a synchronous dual-port RAM and an encryption logic block 80
with a finite state machine. The dual port memory architecture is used for efficiency
during permutation and message processing.