Generating keystream in RC4