0

HElib has no general purpose API for number operations such as comparison or division. How can we implement division operation on ciphertext?How to encrypt floating numbers of any length in homomorphism and add, subtract, multiply and divide them?

  • There is no general API since you have to handle many parameters, all together. Comparison, see here Representing a function as FHE circuit, for division consider the easiest division as possible that requires low multiplicative depth. Floating, use the fixed point representation? – kelalaka Feb 25 '20 at 08:14
  • Please forgive me not to express myself clearly, it means the plaintext is floating-point. And how can I understand the meaning of the easiest division? – wanying Feb 25 '20 at 08:44
  • Yes, I got it, floating-point. Low multiplicative depth? – kelalaka Feb 25 '20 at 08:45
  • But how do I construct a division between ciphertext? by using binary or design a new operation? – wanying Feb 25 '20 at 08:56

0 Answers0