No players online 

You are not logged in.

#1 2005-05-22 11:08:31

Archi
Administrator
Registered: 2005-02-21

Encryption/Decryption

For encryption/decription you basically just need to XOR the bytes with the correct key.

1. Copy first 12 bytes.
2. XOR next 12 bytes with this key:

Code:

BYTE hkey[12] = { 
0xA7, 0x8F, 0x56, 0xFD, 0x3E, 0x1D, 0x7C, 0xBD, 0xDC, 0xE6, 0xBE, 0x6D 
};

3. XOR the bytes to the end of the data file with this key:

Code:

BYTE key[35] = { 
0x80, 0xDD, 0x13, 0x7F, 0x8C, 0xDA, 0x80, 0xC2, 0xA7, 0x51, 0xEA, 0x21, 
0x86, 0xA1, 0xAE, 0xF0, 0x1D, 0xB1, 0xFC, 0x1D, 0xA1, 0x55, 0xDC, 0x9C, 
0x47, 0x49, 0x80, 0x8B, 0xBF, 0x60, 0x65, 0xFD, 0xDA, 0xFD, 0x47 
};

Offline

 
 
Copyright © 2000-2006 dtr-dojo.com. All rights reserved.