ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
1
2
Protocol signatureProtocol versionChecksumData typeData lengthData
3
1 byte1 byte4 bytes1 byteVariable length quantityLength based on data length field
4
ASCII letter "D"Currently 0 (zero)CRC-32 calculated on
decoded data field
1st bit: Compression
0: Encryption wrapper
1: Text
2: File
Variable length quantity representing
length of the data field in bytes
Needed to allow decoding of
multiple concatenated messages
Depends on data type
5
6
⁢⁢‌‌⁣︁⁠⁡‌‌‍‍⁣⁢⁤⁤⁡⁠‌⁤⁠⁤⁡⁠‌⁤⁤︁⁠‌⁡‌⁠⁤⁣⁤‍⁤⁢⁡⁤⁤⁣⁤⁣⁢⁡⁠‌⁢⁤⁤⁠︁Text
7
Text
8
Remaining length
9
UTF-8 encoded
10
11
File
12
MIME typeFile nameFile
13
Variable length (null terminated)Variable length (null terminated)Remaining length
14
Is best-effort on the part of the
transmitting client
May contain characters illegal on
some platforms
In the event that a receiving client
cannot save the file to disk as named,
the client must transform illegal characters
Binary blob
15
16
Encryption wrapperAssume AES-GCM 128-bit, PBKDF2
17
Options lengthOptionsSaltCiphertext
18
Variable length quantityLength based on options length field16 bytesRemaining length
19
Can be 0 (zero)Used for storing IVs, nonces, etc.Generated using a
cryptographically
secure PRNG
Binary blob
20
21
Ciphertext
22
Data typePadding lengthData
23
1 byte1 byteRemaining length
24
1st bit: Compression
1: Text
2: File
Only present when
block cipher is used
Depends on data type
25
26
DecimalHexBinaryCharacterDescription
27
000000U+200Czero-width non-joiner
28
110001U+200Dzero-width joiner
29
220010U+2060word joiner
30
330011U+2061function application
31
440100U+2062invisible times
32
550101U+2063invisible separator
33
660110U+2064invisible plus
34
770111U+206Ainhibit symmetric swapping
35
881000U+206Bactivate symmetric swapping
36
991001U+206Cinhibit Arabic form shaping
37
10A1010U+206Dactivate Arabic form shaping
38
11B1011U+206Enational digit shapes
39
12C1100U+206Fnominal digit shapes
40
13D1101U+FE00variation selector-1
41
14E1110U+FE01variation selector-2
42
15F1111U+FEFFzero-width non-breaking space
43
https://invisible-characters.com/
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100