diff --git a/docs/payloads.md b/docs/payloads.md index 7745ac61ba..28619897cd 100644 --- a/docs/payloads.md +++ b/docs/payloads.md @@ -174,6 +174,8 @@ txt_type | `0x01` | CLI command | the command text of the message | | `0x02` | signed plain text message | first four bytes is sender pubkey prefix, followed by plain text message | +The message is supposed to be an UTF-8 encoded, zero terminated string. + # Anonymous request | Field | Size (bytes) | Description | @@ -236,6 +238,8 @@ txt_type The plaintext contained in the ciphertext matches the format described in [plain text message](#plain-text-message). Specifically, it consists of a four byte timestamp, a flags byte, and the message. The flags byte will generally be `0x00` because it is a "plain text message". The message will be of the form `: ` (eg., `user123: I'm on my way`). +The ciphertext is limited to 160 bytes (10 blocks of 128 bit / 16 bytes) of length. + # Group datagram | Field | Size (bytes) | Description |