From 88a3db6d047abc59aaed06bbb432fef609cc8fa8 Mon Sep 17 00:00:00 2001 From: zzz Date: Wed, 13 Jan 2016 15:51:59 +0000 Subject: [PATCH] fixup 2 --- i2p2www/pages/site/docs/how/elgamal-aes.html | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/i2p2www/pages/site/docs/how/elgamal-aes.html b/i2p2www/pages/site/docs/how/elgamal-aes.html index 13b6b52d..70ae9b72 100644 --- a/i2p2www/pages/site/docs/how/elgamal-aes.html +++ b/i2p2www/pages/site/docs/how/elgamal-aes.html @@ -227,35 +227,28 @@ The unencrypted data in the AES block contains the following: {% highlight lang='dataspec' %} tag count: 2-byte `Integer`, 0-200 -{%- endtrans %} Session Tags: That many 32-byte `SessionTag`s -{%- endtrans %} payload size: 4-byte `Integer` -{%- endtrans %} Payload Hash: The 32-byte SHA256 `Hash` of the payload -{%- endtrans %} -flag: {% trans -%} +flag: A one-byte value. Normally == 0. If == 0x01, a Session Key follows -{%- endtrans %} New Session Key: A 32-byte `SessionKey`, to replace the old key, and is only present if preceding flag is 0x01 -{%- endtrans %} -Payload: {% trans %}the data{% endtrans %} +Payload: the data -Padding: {% trans -%} +Padding: Random data to a multiple of 16 bytes for the total length. May contain more than the minimum required padding. -{%- endtrans %} {% endhighlight %} {% trans %}Minimum length: 48 bytes{% endtrans %} @@ -317,9 +310,8 @@ as follows: Session Tag: A 32-byte `SessionTag` previously delivered in an AES block -{%- endtrans %} -AES Encrypyted Block: {% trans %}As specified above.{% endtrans %} +AES Encrypyted Block: As specified above. {% endhighlight %}