Post Pacific  

Go Back   Post Pacific > Lineage2 C# > L2C# General
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 04.12.2005, 10:05   #1
Sindol
Архивный участник
 
Join Date: Oct 2005
Posts: 21
Default [Updated]Maybe somone else can find the problem here.

Well I started porting over a new loginserver with the latest encryption in C#, can decrypt packets fine but for some reason I keep getting bad data errors when attempting to decrypt username/password so I'm posting my mini debug version of the project in hopes that someone can help or at least use the code to share a solution with me.

UPDATE:
Found the problem, client encrypts without padding, the microsoft version of RSA doesn't support unpadded decryption, just throws Not Supported exception, mono on other hand does support raw decryption.

Removed code since its useless for windows development, but it should work on mono (don't have to test), so if anyone wants a copy you can PM me.
Sindol is offline  
 


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. The time now is 21:51.