Handshake Success Packet
๐ฆ Sizeโ
33 bytes
TYPE
: 8 bitsXTEA256 SESSION KEY
: 256 bits (32 bytes)
๐ค Sent Byโ
Server, after successfully verifying the client's handshake response.
๐งช Contentsโ
- A newly generated 256-bit session key, used for all future communication
- The
TYPE
field (0x04
) is unencrypted - The session key itself is encrypted using the static shared key
๐ Purposeโ
This packet finalizes the handshake process by securely sharing
a newly generated 256-bit session key with the client.
Once the client decrypts this key using the shared handshake key,
both sides switch to session-level encryption for all subsequent communication.
No plaintext content will be transferred after this point.