|
eolib 0.5.0
A core C library for writing applications related to Endless Online
|
EO uses a two-stage packet encryption scheme. The library exposes both the high-level encrypt/decrypt functions and the lower-level primitives.
Overview:
Typical client-side workflow:
Server verification hash:
During the connection handshake the client sends a challenge value to the server. The server must respond with the correct hash, which the client can verify using eo_server_verification_hash():
Packets whose first two bytes are both 0xFF are never encrypted and are passed through unchanged by eo_encrypt_packet() / eo_decrypt_packet().