aboutsummaryrefslogtreecommitdiff
path: root/docs/megolm.md
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-11-08 13:34:16 +0000
committerRichard van der Hoff <richard@matrix.org>2019-11-08 13:34:16 +0000
commit52098b3af7885094d13d035ae98ce7e746cf7954 (patch)
tree58d416d15c65b40dbc0d65b468efca0921e61dc7 /docs/megolm.md
parentbaaf00266314487f831726d7cb34ee2649f99e22 (diff)
Update megolm.md
Diffstat (limited to 'docs/megolm.md')
-rw-r--r--docs/megolm.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/megolm.md b/docs/megolm.md
index eaae7e0..baf4c5e 100644
--- a/docs/megolm.md
+++ b/docs/megolm.md
@@ -161,10 +161,10 @@ described in [The Megolm ratchet algorithm](#the-megolm-ratchet-algorithm), usin
```math
\begin{aligned}
- H_0(A) &\equiv \operatorname{HMAC}(A,\text{"\x00"}) \\
- H_1(A) &\equiv \operatorname{HMAC}(A,\text{"\x01"}) \\
- H_2(A) &\equiv \operatorname{HMAC}(A,\text{"\x02"}) \\
- H_3(A) &\equiv \operatorname{HMAC}(A,\text{"\x03"}) \\
+ H_0(A) &\equiv \operatorname{HMAC}(A,\text{``\char`\\x00"}) \\
+ H_1(A) &\equiv \operatorname{HMAC}(A,\text{``\char`\\x01"}) \\
+ H_2(A) &\equiv \operatorname{HMAC}(A,\text{``\char`\\x02"}) \\
+ H_3(A) &\equiv \operatorname{HMAC}(A,\text{``\char`\\x03"}) \\
\end{aligned}
```