Skip to content

Encoding

John Cameron edited this page Oct 17, 2018 · 3 revisions

The beginning of every packet must include the 8-byte magic value (ASCII encoded: 7SzCLCgc) and packet ID (1 byte).

Additionally, all packets must include a HMAC_SHA256 at the end of every packet transmitted in order to verify integrity and authenticity.

For example, an encoded Nonce packet would be as followed:

--- <Internet headers> ---
--- UDP ---
[Magic] [Packet ID] [Nonce (UUID [128-bit number])] [HMAC_SHA256]
--- END UDP ---
--- <Internet trailers> ---
Clone this wiki locally