I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit bbc9ec65 authored by zzz's avatar zzz
Browse files

prop 147 formatting

parent 776345a2
No related branches found
No related tags found
No related merge requests found
......@@ -123,9 +123,9 @@ Existing:
{% highlight lang='dataspec' %}
HMAC-MD5(encryptedPayload + IV + (payloadLength ^ protocolVersion), macKey)
'+' means append and '^' means exclusive-or.
payloadLength is a 2 byte unsigned integer
protocolVersion is two bytes 0x0000
'+' means append and '^' means exclusive-or.
payloadLength is a 2 byte unsigned integer
protocolVersion is two bytes 0x0000
{% endhighlight %}
......@@ -136,10 +136,10 @@ New:
{% highlight lang='dataspec' %}
HMAC-MD5(encryptedPayload + IV + (payloadLength ^ protocolVersion ^ ((netid - 2) << 1)), macKey)
'+' means append, '^' means exclusive-or, '<<' means left shift.
payloadLength is a 2 byte unsigned integer
protocolVersion is two bytes 0x0000
netid is a 1 byte unsigned integer
'+' means append, '^' means exclusive-or, '<<' means left shift.
payloadLength is a 2 byte unsigned integer
protocolVersion is two bytes 0x0000
netid is a 1 byte unsigned integer
{% endhighlight %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment