Packet System
1. Encryption
Florensia use an very simple "NOT" decryption. Who dont know what it is some information here Bitwise operation - Wikipedia, the free encyclopedia or [Only registered and activated users can see links. Click Here To Register...].
Example:
Our Packet:
0xAB 0x9A 0x9C 0x9B >> "«šœ›"
NOT
0x54 0x65 0x73 0x74 >> "Test"
In c++:
Code:
BYTE Packet[] = {0xAB, 0x9A, 0x9C, 0x9B}; //Test
BYTE rawPacket[sizeof(Packet)]; //Decrypted
for(int i = 0;i< sizeof(Packet);i++)
{
rawPacket[i] = ~Packet[i];
printf("0x%02x ",rawPacket[i]);
}