Migrated first 6 gists.
This commit is contained in:
12
rc4.c/rc4.h
Normal file
12
rc4.c/rc4.h
Normal file
@@ -0,0 +1,12 @@
|
||||
/* rc4.h */
|
||||
|
||||
typedef struct rc4_key
|
||||
{
|
||||
unsigned char state[256];
|
||||
unsigned char x;
|
||||
unsigned char y;
|
||||
} rc4_key;
|
||||
|
||||
void prepare_key(unsigned char *key_data_ptr,int key_data_len, rc4_key *key);
|
||||
|
||||
void rc4(unsigned char *buffer_ptr,int buffer_len,rc4_key * key);
|
||||
Reference in New Issue
Block a user