Content deleted Content added
No edit summary |
m Fix grammar |
||
Line 39:
It feeds each block of the message (m<sub>i</sub>) as the cleartext to be encrypted. The output ciphertext is then also XORed (<math>\oplus</math>) with the same message block (m<sub>i</sub>) to produce the next hash value (H<sub>i</sub>). The previous hash value (H<sub>i-1</sub>) is fed as the key to the block cipher. In the first round when there is no previous hash value it uses a constant pre-specified initial value (H<sub>0</sub>).
If the block cipher
<math>H_i = E_{g(H_{i-1})}(m_i)\oplus m_i</math>
<br style="clear:both"/>
== Miyaguchi-Preneel ==
[[Image:Miyaguchi-Preneel hash.svg|thumb|230px|right|The Miyaguchi-Preneel hash construction]]
|