![]() |
|
|
#1 |
|
Архивный участник
Join Date: Oct 2005
Posts: 21
|
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. |
|
|
|
|