I'm using ARC4 for encrypting and decrypting a stream of data that is sent over a network. On a LAN, the algorithm works pretty well. But over a WAN or the Internet, where packets are processed at the server not necessarily in the order sent by the client, the ARC4 seems to break down and quit working. I assume this is because it's stateful. Is there a way to use ARC4 such that it doesn't act this way? If not, can someone point me to a suitable replacement in Crypto++ for ARC4 that will work work with sending data over a socket?
I'm using Crypto++ 4.2 on Solaris and Linux. Thanks, -Kevin
