summaryrefslogtreecommitdiff
path: root/include/pso/PSOV3EncryptionTCP.h
blob: be4efbb8d6e3eba8b1438e2ddba7ab5663a8a67d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef PSOV3ENCRYPTIONTCP_H
#define PSOV3ENCRYPTIONTCP_H

#include <global_types.h>
#include <string.h>
#include <pso/macros.h>
#include <pso/protocol.h>
#include <pso/PSOV3Encryption.h>

class PSOV3EncryptionTCP : public PSOV3Encryption {
public:
	PSOV3EncryptionTCP();
	~PSOV3EncryptionTCP();

	void reset(u32 seed);
	void encrypt(void *void_data, int size);
public:
	u32 m_seed;
};

#endif