Quote:
Originally Posted by rowni18
I understand the type of encryption it uses but I'm having some problem how did the code generated the "specific key" for encryption used by the the public void Initialize(byte[] key_ptr) function.
|
Search "Security.cs" for all instances of "m_blowfish.Initialize". Depending on the type of security, there are multiple keys used during the process of setting up the security for Silkroad packets. The bulk of the logic will be in the Handshake function. That's the main logic you have to port to whatever language you are using to get a Silkroad security compatible with Joymax's.
To understand the actual process as a whole, check out:

. That guide is old and has some errors in it, but the main concepts are there.