typo readme

This commit is contained in:
Leonetienne 2022-07-07 14:09:26 +02:00
parent e5d4211761
commit f6b8e9fbad
No known key found for this signature in database
GPG Key ID: 771567769ADD4F5F

View File

@ -126,7 +126,7 @@ GHash is a streaming hash function based on the GCipher.
For all intents and purposes, it does the following:
You have a *Block b*, which is initialized with a static random distribution.
Once you give the GHash instance a data block to digest, it will use the GCipher to encrypt it, with itself as a key, and xor that onto *b*.
(*b<sub>i</sub> = b<sub>i-1</sub> &#8853; E(key=b, data=b)*)
(*b<sub>i</sub> = b<sub>i-1</sub> &#8853; E(key=b<sub>new</sub>, data=b<sub>new</sub>)*)
The lastest *b* represents the current result of the hash function.