Talk:One-way compression function: Difference between revisions

Content deleted Content added
Matt Crypto (talk | contribs)
Line 17:
== Merkle-Damgård image ==
 
I took the liberty to revert to the first image. (The colourful one made by me but which really is only a slight extension of Matt_Crypto's old version.) Note that the other pictures on this page on purpose is colourmatched with this image (yellow boxes) to make it clearer where they fit in the Merkle-Damgård structure. I have tested the different images on the chatters in #crypto on irc.freenode.net and they prefered the colourful version. --[[User:Davidgothberg|David Göthberg]] 08:10, 6 March 2006 (UTC)
 
I have tested the different images on the chatters in #crypto on irc.freenode.net and they prefered the colourful version.
 
--[[User:Davidgothberg|David Göthberg]] 08:10, 6 March 2006 (UTC)
: [[:Image:Merkle-Damgard_hash.svg|Your version]] certainly looks nicer. I don't suppose you could tweak it to show the padding as in [[:Image:Merkle-Damgard.png|Mangojuice's diagram]]? [[User:Matt Crypto|&mdash; Matt <small>Crypto</small>]] 08:43, 6 March 2006 (UTC)
 
::Ok, since both of you seem to want it like that I'll give it a shot. I am also thinking of removing the pink balls around IV and HASH and only use text for them. I'll see how that looks. (Sorry Matt, but I think that might look better.) Oh, and I should mention that last week I read through the source code of about 10 different hash functions and discovered that most do not use a finalisation function. (Apart from doing the "100..." + length padding of course.) But since some use it I think I will keep the finalisation function box but mention in the text of the Merkle-Damgård article that only some hashes use a finalisation function. But I will still have the length padding fed to a separate compression function, since length padding within the last message block is just a speed optimisation that not all hashes use and that optimisation I think I explain well in the length padding example in the Merkle-Damgård article. --[[User:Davidgothberg|David Göthberg]] 10:18, 6 March 2006 (UTC)