Score:0

How to prove that a hash function is collision resistant if it's equal to that of a collision resistant hash function?

US flag
user104469

Given that H is a collision-resistant hash function from 2n-bit strings to n-bit strings.

How do I prove that Hash is collision-resistant if:

$$\text{Hash}(X_1∥X_2∥X_3) := \text{H}(X_1∥H(X_2∥X_3))$$

Maarten Bodewes avatar
in flag
This looks like homework to me. What have you tried? We only give hints in comments on homework questions, but only if the post shows significant effort to solve the question at hand.
Maarten Bodewes avatar
in flag
I think you need to argue in the sense of $\text{H}(X)$ is collision resistant, which means that $\text{H}(X |\ \text{F}(Y))$ is collision resistant as long as $F$ doesn't have collisions, i.e. produces the same output.
poncho avatar
my flag
There are two standard ways to answer this type of question (one positively, one negatively): a) if you are given a collision in $Hash$, you can use that to produce a collision in $H$ (and hence if $H$ is collision resistant, so is $Hash$), and b) here's an artificial $H$ which is collision resistant, but for which $Hash$ is not. One of these two methods works in this case - can you figure out which one it is?
Score:1
mo flag

Usually we prove these things by contradiction. Assume there is an adversary A that finds collisions for Hash. Can you construct an adversary B that finds collisions for H? If so, B contradicts the fact that H is collision-resistant, therefore A does not exist.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.