Content deleted Content added
I want to stop being spy on Tags: nowiki added Visual edit |
m Reverted 1 edit by 2603:9008:1C07:2500:4CBC:5F1C:BE2A:5CFD (talk) to last revision by MrOllie (TW) |
||
Line 79:
The Davies–Meyer single-block-length compression function feeds each block of the message (m<sub>i</sub>) as the key to a block cipher. It feeds the previous hash value (H<sub>i-1</sub>) as the plaintext to be encrypted. The output ciphertext is then also [[exclusive-or|XORed]] (⊕) with the previous hash value (H<sub>i-1</sub>) to produce the next hash value (H<sub>i</sub>). In the first round when there is no previous hash value it uses a constant pre-specified initial value (H<sub>0</sub>).
In [[mathematical notation
:<math>H_i = E_{m_i}{(H_{i-1})} \oplus {H_{i-1}}.</math>
Line 163:
== See also ==
*
* [[CBC-MAC]], [[One-key MAC|
== References ==
{{Reflist}}
* {{cite book |url=http://cacr.uwaterloo.ca/hac/ |title=Handbook of Applied Cryptography |last=Menezes |last2=van Oorschot |last3=Vanstone |year=2001 |chapter=Hash Functions and Data Integrity |chapterurl=http://cacr.uwaterloo.ca/hac/about/chap9.pdf }}
{{Cryptography navbox|hash}}
{{DEFAULTSORT:One-Way Compression Function}}
|