0

I wonder if there is a known hash function that for any $x$, $y$ which are numbers in a certain range with certain accuracy (I guess one can think of them as integers?), you can define two functions corresponding to addition and multiplication such that:

$h(x) \# h(y) = h(x+y)$

and

$h(x) \cdot\cdot h(y) = h(x \cdot y)$.

Edit: I now see it is slightly duplicated with Is it possible to subtract/multiply numbers using homomorphic encryption?

Uri
  • 141
  • 4

0 Answers0