fix thinko in megolm spec

as per https://github.com/matrix-org/olm/issues/15.
thanks to @dest
This commit is contained in:
Matthew Hodgson 2019-05-20 21:16:51 +01:00
parent 969c8b45e5
commit 214908ace5

View file

@ -96,7 +96,7 @@ from :math:`R_{i,0}`.
The complete ratchet value, :math:`R_{i}`, is hashed to generate the keys used 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 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 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 it is aware of, but cannot decrypt history from before that point without
reversing the hash function. reversing the hash function.