Regular Message Packet
๐ฆ Sizeโ
11 โ 65,531 bytes
TYPE
: 8 bitsLENGTH
: 16 bits (represents the original message length in bytes)MESSAGE
: 64 โ 524,224 bits (8 โ 65,528 bytes, padded)
The message is padded to the nearest multiple of 8 bytes.
๐ Sent Byโ
Both client and server, after a session is successfully established.
๐งช Contentsโ
TYPE
field (0x01
) is unencryptedLENGTH
field indicates the actual message size (before padding)- The
MESSAGE
field contains:- The message string (UTF-8)
- Random padding
- All encrypted using the session key
๐ Padding Detailsโ
To align with 64-bit (8-byte) encryption blocks, the message is padded with random bytes.
This padding is stripped automatically after decryption.
๐ Purposeโ
This packet carries actual user data between the server and client.
All content is encrypted using the session key to ensure confidentiality.