Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
BitchX
GitHub Repository: BitchX/BitchX1.3
Path: blob/master/dll/arcfour/arcfour.h
1072 views
1
typedef unsigned char arcword; /* 8-bit groups */
2
3
typedef struct {
4
arcword state[256], i, j;
5
} arckey;
6
7
/* Prototypes */
8
static inline void arcfourInit(arckey *, char *, unsigned short);
9
static inline char *arcfourCrypt(arckey *, char *, int);
10
static int send_dcc_encrypt (int, int, char *, int);
11
static int get_dcc_encrypt (int, int, char *, int, int);
12
static int start_dcc_crypt (int, int, unsigned long, int);
13
static int end_dcc_crypt (int, unsigned long, int);
14
static int init_schat(char *, char *, char *, char *, char *, char *, unsigned long, unsigned int);
15
void dcc_sdcc (char *, char *);
16
17