Documentation ¶
Overview ¶
Package noscryptoclt implements the packet encryption and decryption algorithms used by the client of the MMORPG NosTale distributed by Gameforge.
Index ¶
- func DecryptGamePacket(packet string) (decryptedPacket string)
- func DecryptLoginPacket(packet string) (decryptedPacket string)
- func EncryptGamePacket(packet string, sessionNumber int) (encryptedPacket string)
- func EncryptLoginPacket(packet string) (encryptedPacket string)
- func EncryptSessionPacket(packet string) (encryptedPacket string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptGamePacket ¶
DecryptGamePacket decrypts and returns the packet passed as argument using the session number provided and the client's game decryption algorithm. If multiple packets (separated by 0xFF) were passed as argument, they will all be decrypted and separated by '\n' in the returned string.
func DecryptLoginPacket ¶
DecryptLoginPacket decrypts and returns the packet passed as argument using the client's login decryption algorithm.
func EncryptGamePacket ¶
EncryptGamePacket encrypts and returns the packet passed as argument using the session number provided and the client's game encryption algorithm.
func EncryptLoginPacket ¶
EncryptLoginPacket encrypts and returns the packet passed as argument using the client's login encryption algorithm.
func EncryptSessionPacket ¶
EncryptSessionPacket encrypts and returns the packet passed as argument using the client's session encryption algorithm.
Types ¶
This section is empty.