//per suggestion from the openciphers site //look for the start of the snap header, if not there abort that key unsigned char RC4(unsigned int data_size,unsigned char * data,unsigned char * un_data_section) { return rc4_output(); }
// Overwrite 'data' with the xor of the keystring void rc4_xor(unsigned char *data, int len) { for (int i=0; i<len; i++) { data[i] ^= rc4_output(); } }