From bbc9ec65467c3058eaa70ccc6232abb46cebd05e Mon Sep 17 00:00:00 2001 From: zzz Date: Tue, 16 Jul 2019 14:35:01 +0000 Subject: [PATCH] prop 147 formatting --- .../proposals/147-transport-network-id-check.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/i2p2www/spec/proposals/147-transport-network-id-check.rst b/i2p2www/spec/proposals/147-transport-network-id-check.rst index e386eb73..67a5cbd1 100644 --- a/i2p2www/spec/proposals/147-transport-network-id-check.rst +++ b/i2p2www/spec/proposals/147-transport-network-id-check.rst @@ -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 %}