Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 08-04-2010, 12:10 PM
blmille2
Sarnak
 
Join Date: Apr 2007
Location: Austin, TX
Posts: 64
Default

Thanks for the quick reply.

I've been looking at the EmuLoginServer code distributed with the eqemu server and see that the encryption/decryption is done inside a DLL (EQEmuAuthCrypto.dll I think).

I tried loading it into .NET several different ways, but it always has issues with it.
When adding it as a reference in C# .NET it says:

---------------------------
Microsoft Visual Studio
---------------------------
A reference to 'C:\test\EQEmuAuthCrypto.dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.
---------------------------
OK
---------------------------

Is there a .NET-friendly Crypto dll or source code (not sure if this is going to open a can of worms or not)? Also, if someone can explain how the encryption is done, that'd be awesome.

I created a regular C++ application and call the encrypt/decrypt functions, but for some reason, the Decrypt function is complaining about the size not being a block size and spits out garbage.

This is what I did:
encrypted = encrypt_func(password,strlen(password),mode);
decrtypted=decrypt_func(encrypted,strlen(encrypted ),mode);
decrypted is not the same as password and is garbage (not to mention that there is that warning issued about the size not being a block size).

Thanks!
Reply With Quote
 

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 01:25 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3