noscryptoclt

package
v0.0.0-...-7096d4f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2019 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

Package noscryptoclt implements the packet encryption and decryption algorithms used by the client of the MMORPG NosTale distributed by Gameforge.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptGamePacket

func DecryptGamePacket(packet string) (decryptedPacket string)

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

func DecryptLoginPacket(packet string) (decryptedPacket string)

DecryptLoginPacket decrypts and returns the packet passed as argument using the client's login decryption algorithm.

func EncryptGamePacket

func EncryptGamePacket(packet string, sessionNumber int) (encryptedPacket string)

EncryptGamePacket encrypts and returns the packet passed as argument using the session number provided and the client's game encryption algorithm.

func EncryptLoginPacket

func EncryptLoginPacket(packet string) (encryptedPacket string)

EncryptLoginPacket encrypts and returns the packet passed as argument using the client's login encryption algorithm.

func EncryptSessionPacket

func EncryptSessionPacket(packet string) (encryptedPacket string)

EncryptSessionPacket encrypts and returns the packet passed as argument using the client's session encryption algorithm.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL