generator based on rc4 and aes implemented