Thread: Cryption(object);

Results 1 to 2 of 2
  1. #1 Cryption(object); 
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    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?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Whired's Avatar
    Join Date
    Aug 2007
    Posts
    2,126
    Thanks given
    238
    Thanks received
    500
    Rep Power
    822
    I'm pretty sure it decrypts all packets sent to the server from the client
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •