aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2019-05-20 21:16:51 +0100
committerMatthew Hodgson <matthew@matrix.org>2019-05-20 21:16:51 +0100
commit214908ace54604da669b015cfda7c0496918dfc0 (patch)
treef42463d15edc295b5113664aad91b7183a145d03
parent969c8b45e5417935bff0292a8016d1b92521b5bd (diff)
fix thinko in megolm spec
as per https://github.com/matrix-org/olm/issues/15. thanks to @dest
-rw-r--r--docs/megolm.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/megolm.rst b/docs/megolm.rst
index 03ee426..b5a4b5f 100644
--- a/docs/megolm.rst
+++ b/docs/megolm.rst
@@ -96,7 +96,7 @@ from :math:`R_{i,0}`.
The complete ratchet value, :math:`R_{i}`, is hashed to generate the keys used
to encrypt each message. This scheme allows the ratchet to be advanced an
-arbitrary amount forwards while needing at most 1023 hash computations. A
+arbitrary amount forwards while needing at most 1020 hash computations. A
client can decrypt chat history onwards from the earliest value of the ratchet
it is aware of, but cannot decrypt history from before that point without
reversing the hash function.