Re: RC4 doesn't always encrypt/decrypt the same way twice

2001-05-02 Thread Jason Aras
On Wed, 2 May 2001 [EMAIL PROTECTED] wrote: > If I use the code below to encrypt and decrypt it doesn't always produce the > same results. The majority of the time it works but I can't find anything > explaining why it doesn't work 100% of the time. > > void EnDe(unsigned char *buf) > { >

RC4 doesn't always encrypt/decrypt the same way twice

2001-05-02 Thread CGenrich
If I use the code below to encrypt and decrypt it doesn't always produce the same results. The majority of the time it works but I can't find anything explaining why it doesn't work 100% of the time. void EnDe(unsigned char *buf) { RC4_KEY key; unsigned char keys[17] = "s1fuk8wfe4hj9ks