jidoc01 / RustyDO

A server emulator for Digimon Online v1.5.
GNU Affero General Public License v3.0
53 stars 12 forks source link

Implement RC4 algorithm in a self-contained manner #3

Closed jidoc01 closed 2 years ago

jidoc01 commented 2 years ago

Our RC4 algorithm has been implemented with Windows internal APIs. It was because the encryption result from DO client (in Windows) and the general RC4 algorithm did not match. And it was due to padding. Refer to: https://docs.microsoft.com/en-us/windows/win32/seccrypto/salt-value-functionality

So it is now available to implement the algorithm w/o Windows APIs.