Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    $\begingroup$ Thanks for your brainstorming of a new "solution" ... do you have any analysis why this is better than other ways of combining them? In which way the first or final some bits are special here? $\endgroup$ Commented Jul 5, 2013 at 8:54
  • $\begingroup$ Okay, it has a good avalanche property, it's good against length extension attacks, and it has the properties of both h1 and h2 (only use for good h1/h2). The first/final bits are special because they combat against length-extension attacks. $\endgroup$ Commented Jul 6, 2013 at 22:43
  • $\begingroup$ You can also switch between h2,h3,h4,...,hn, and switch to one on certain conditions. $\endgroup$ Commented Jul 6, 2013 at 22:46
  • $\begingroup$ And why did anyone downvote this answer? It was a great asnwer though. $\endgroup$ Commented Jul 6, 2013 at 23:02
  • $\begingroup$ I forgot something. A collision in $h_1$ doesn't necessarily mean a collision in the resultant hash $h_p$, with probability $2^{-224}$. And a collision in $h_2$ doesn't mean a collision in the resultant hash $h_p$ with The probability $2^{-256}$. $\endgroup$ Commented Jul 14, 2013 at 21:50