Is $g(x_1||x_2) = f(x_1 \wedge x_2)$ a one way function assuming f is a one way function

ms flag

Intuitively I think not because assuming the bit string $x_1,x_2 \sim \{0,1\}^{n/2}$, $x_1 \wedge x_2$ is not uniformly random so if $g$ were still a one-way function then the fact that the definition of one way function requires the input string $x$ to be uniformly random seems unneeded.

But I'm not sure how to construct the $f$ required. I tried the usual $f(x) = 0^{n/2}||f(x_{[1:n/2]})$ but got stuck.

fgrieu avatar
ng flag
Welcome to crypto-SE. I suggest you [edit]( the question, adding the definition of One Way Function assumed in the context. This may help you, and will show the level of formalism expected.
Daniel S avatar
ru flag
HINT: Suppose that you could invert $g$ with non-negligible probability, could you use this ability to create pseudo-inversions of $f$?

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.