Well currently I am working on a single threaded, non blocking c# server, I have now got to the 3rd stage of the login protocol but can not find any documentation on Cryption(object);
Which seems to be used to encypt the session key:
Code:
int sessionKey[] = new int[4];
sessionKey[0] = (int) (clientSessionKey >> 32);
sessionKey[1] = (int) clientSessionKey;
sessionKey[2] = (int) (serverSessionKey >> 32);
sessionKey[3] = (int) serverSessionKey;
inStreamDecryption = new Cryption(sessionKey);
for (int i = 0; i < 4; i++)
sessionKey[i] += 50;
sessionKey[i] += 50;
outStreamDecryption = new Cryption(sessionKey);
outStream.packetEncryption = outStreamDecryption;
What encyption does Cryption(object), return back / use?