diff --git a/i2p2www/pages/site/docs/how/elgamal-aes.html b/i2p2www/pages/site/docs/how/elgamal-aes.html index 571b07ad..e1bb884b 100644 --- a/i2p2www/pages/site/docs/how/elgamal-aes.html +++ b/i2p2www/pages/site/docs/how/elgamal-aes.html @@ -1,7 +1,7 @@ {% extends "global/layout.html" %} {% block title %}{% trans %}ElGamal/AES + SessionTag Encryption{% endtrans %}{% endblock %} -{% block lastupdated %}{% trans %}March 2014{% endtrans %}{% endblock %} -{% block accuratefor %}0.9.12{% endblock %} +{% block lastupdated %}{% trans %}January 2016{% endtrans %}{% endblock %} +{% block accuratefor %}0.9.24{% endblock %} {% block content %}
{% trans -%} @@ -180,7 +180,8 @@ and the encrypted block is 514 bytes long.
{% trans -%} The unencrypted data in the AES block contains the following: {%- endtrans %}
-+ +{% highlight lang='dataspec' %} +----+----+----+----+----+----+----+----+ |tag count| | +----+----+ + @@ -220,7 +221,10 @@ The unencrypted data in the AES block contains the following: +----+----+----//---+----+ + | Padding to 16 bytes | +----+----+----+----+----+----+----+----+ +{% endhighlight %} +Definition
+{% highlight lang='dataspec' %} tag count: {% trans commonstructures=site_url('docs/spec/common-structures') -%} 2-byte Integer, 0-200 {%- endtrans %} @@ -252,10 +256,10 @@ Padding: {% trans -%} 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 %} -
{% trans cryptography=site_url('docs/how/cryptography') -%} The data is then AES Encrypted, @@ -287,7 +291,8 @@ ElGamal block. The existing session message is as follows: {%- endtrans %}
-+ +{% highlight lang='dataspec' %} +----+----+----+----+----+----+----+----+ | | + + @@ -305,15 +310,18 @@ as follows: + + | | +----+----+----+----+----+----+----+----+ +{% endhighlight %} +Definition
+{% highlight lang='dataspec' %} Session Tag: {% trans commonstructures=site_url('docs/spec/common-structures') -%} A 32-byte Session Tag previously delivered in an AES block {%- endtrans %} AES Encrypyted Block: {% trans %}As specified above.{% endtrans %} +{% endhighlight %} -
{% trans -%} The session tag also serves as