aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpukkamustard <pukkamustard@posteo.net>2021-09-15 12:27:38 +0200
committerpukkamustard <pukkamustard@posteo.net>2021-09-15 12:27:38 +0200
commitb44ff1dde6d2ba7d65781491ca2061a6ed0b7cbd (patch)
tree9e72e1b0ec561cf16a8bc8230842b31d636f3a01
parent8f3323d74598d2dc290b6966691324b5732d6fb6 (diff)
spec: Cosmetic fix in pseudo code
-rw-r--r--public/index.html6
-rw-r--r--spec/eris.adoc4
2 files changed, 5 insertions, 5 deletions
diff --git a/public/index.html b/public/index.html
index 76fd52f..68baa52 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1338,8 +1338,8 @@ If the length of the last content block is exactly block size, then padding will
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-pseudocode" data-lang="pseudocode">Encrypt-Block(INPUT, CONVERGENCE-SECRET):
- KEY := Blake2b-256(INPUT,CONVERGENCE-SECRET)
- ENCRYPTED-BLOCK := ChaCha20(INPUT,KEY)
+ KEY := Blake2b-256(INPUT, CONVERGENCE-SECRET)
+ ENCRYPTED-BLOCK := ChaCha20(INPUT, KEY)
REFERENCE := Blake2b-256(ENCRYPTED-BLOCK)
RETURN ENCRYPTED-BLOCK, REFERENCE, KEY</code></pre>
</div>
@@ -2057,7 +2057,7 @@ ERIS-Decode(BLOCK-SIZE, LEVEL, ROOT-REFERENCE, ROOT-KEY):
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2021-09-15 12:19:04 +0200
+Last updated 2021-09-15 12:26:26 +0200
</div>
</div>
</body>
diff --git a/spec/eris.adoc b/spec/eris.adoc
index 7464a4e..be7cb56 100644
--- a/spec/eris.adoc
+++ b/spec/eris.adoc
@@ -256,8 +256,8 @@ The `Encrypt-Block` function encrypts a block and returns the encrypted block al
[source,pseudocode]
----
Encrypt-Block(INPUT, CONVERGENCE-SECRET):
- KEY := Blake2b-256(INPUT,CONVERGENCE-SECRET)
- ENCRYPTED-BLOCK := ChaCha20(INPUT,KEY)
+ KEY := Blake2b-256(INPUT, CONVERGENCE-SECRET)
+ ENCRYPTED-BLOCK := ChaCha20(INPUT, KEY)
REFERENCE := Blake2b-256(ENCRYPTED-BLOCK)
RETURN ENCRYPTED-BLOCK, REFERENCE, KEY
----