forked from I2P_Developers/i2p.www
improve data packet picture
This commit is contained in:
@@ -34,9 +34,17 @@ the NTCP transport sends individual I2NP messages, with a simple checksum.
|
||||
The unencrypted message is encoded as follows:
|
||||
{%- endtrans %}</p>
|
||||
{% highlight lang='dataspec' %}
|
||||
+-------+-------+--//--+---//----+-------+-------+-------+-------+
|
||||
| sizeof(data) | data | padding | Adler checksum of sz+data+pad |
|
||||
+-------+-------+--//--+---//----+-------+-------+-------+-------+
|
||||
+-------+-------+-------+-------+-------+-------+-------+-------+
|
||||
| sizeof(data) | |
|
||||
+-------+-------+ +
|
||||
| data |
|
||||
~ ~
|
||||
| |
|
||||
+ +-------+-------+-------+
|
||||
| | padding
|
||||
+-------+-------+-------+-------+-------+-------+-------+-------+
|
||||
| Adler checksum of sz+data+pad |
|
||||
+-------+-------+-------+-------+-------+-------+-------+-------+
|
||||
{% endhighlight %}
|
||||
<p>{% trans -%}
|
||||
The data is then AES/256/CBC encrypted. The session key for the encryption
|
||||
|
Reference in New Issue
Block a user