OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
chatCrypt.h
1#ifndef _CHATCRYPT_H_
2#define _CHATCRYPT_H_
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7
8typedef struct _gs_crypt_key
9{
10 unsigned char state[256];
11 unsigned char x;
12 unsigned char y;
13} gs_crypt_key;
14
15
16void gs_prepare_key(const unsigned char *key_data_ptr, int key_data_len, gs_crypt_key *key);
17void gs_crypt(unsigned char *buffer_ptr, int buffer_len, gs_crypt_key *key);
18void gs_xcode_buf(char *buf, int len, char *enckey);
19
20#ifdef __cplusplus
21}
22#endif
23
24#endif
Definition chatCrypt.h:9