Summary: I've got a current application written r C++ and VB6 which uses RC4 (yes I ... generate a key from my shared secret because it doesn't know what RC4 is. ... Just using the SHA1 hash result as the key for the RC4 stream doesn't work ... where hHash is handle to the SHA1 of the shared secret and KeySize is 56. ... ...