In typical proof of work, there is a one-way hash-function that takes binary inputs and generates an output $h(x,y)$ where $x,y\in\{0,1\}^M$ are binary inputs, so that finding $x$ for a certain $y$ such that $h(x,y)=0$ becomes a complex problem.
Is it possible to design $h(x,y)$, such that it is insensitive to parts of input, say it completely discards parts of input $x$, without revealing those positions? While we can just concatenate the "sensitive" bits, and apply any one-way function, the description of such a hash function would contain and reveal the bit positions. Is there way to achieve this partially sensitive hash, without revealing the sensitive/non-sensitive pattern?